diff --git a/phonenumbers-8.13.48.tar.gz b/phonenumbers-8.13.48.tar.gz deleted file mode 100644 index f9bb184e036ac7ab3a9a48afebb1a0edff224152..0000000000000000000000000000000000000000 Binary files a/phonenumbers-8.13.48.tar.gz and /dev/null differ diff --git a/phonenumbers-8.13.49.tar.gz b/phonenumbers-8.13.49.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9f1ef3f47b3da89c5731db85d8a3cb9747c31fa8 Binary files /dev/null and b/phonenumbers-8.13.49.tar.gz differ diff --git a/python-phonenumbers.spec b/python-phonenumbers.spec index 42407180cfb43d975f8eb85efcd2c23f1ac41235..461fd5323df8147720f01d9eacb1b8b0b9a134b7 100644 --- a/python-phonenumbers.spec +++ b/python-phonenumbers.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-phonenumbers -Version: 8.13.48 +Version: 8.13.49 Release: 1 Summary: Python version of Google's common library for parsing, formatting, storing and validating international phone numbers. License: Apache-2.0 URL: https://github.com/daviddrysdale/python-phonenumbers -Source0: https://files.pythonhosted.org/packages/61/59/d01506a791481d26a640acb0a1124e3f0a816b0711e563962d7d55184890/phonenumbers-8.13.48.tar.gz +Source0: https://files.pythonhosted.org/packages/46/ba/3ffde4423a23198fe983fc44eca5738e4fa7367cd469de5346d055613157/phonenumbers-8.13.49.tar.gz BuildArch: noarch @@ -17,6 +17,8 @@ Summary: Python version of Google's common library for parsing, formatting, stor Provides: python-phonenumbers = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel %description -n python3-phonenumbers Python version of Google's common library for parsing, formatting, storing and validating international phone numbers. @@ -32,47 +34,49 @@ Python version of Google's common library for parsing, formatting, storing and v %autosetup -n phonenumbers-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi +touch filelist.lst if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-phonenumbers -f filelist.lst -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Nov 12 2024 liutao1 - 8.13.49-1 +- Update package to version 8.13.49 + Merge metadata changes from upstream + Generated files for metadata + * Thu Oct 24 2024 liudy - 8.13.48-1 - Update version to 8.13.48 - Added a check to phonenumberutil.py -- * Tue Sep 03 2024 Ge Wang - 8.13.44-1 - Update package to version 8.13.44