diff --git a/absl-py-2.1.0.tar.gz b/absl-py-2.1.0.tar.gz deleted file mode 100644 index 9b23c6d8f20b911d031bad0678a661bc6920b114..0000000000000000000000000000000000000000 Binary files a/absl-py-2.1.0.tar.gz and /dev/null differ diff --git a/absl_py-2.3.0.tar.gz b/absl_py-2.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ee3490e4be895a443c8687524bdbfeb0f8223e76 Binary files /dev/null and b/absl_py-2.3.0.tar.gz differ diff --git a/python-absl-py.spec b/python-absl-py.spec index 9c0d40097a5ed17caf8a342dcfbbca6e78096e87..09684321d0da230b36dce0a7e06460fb8be996e7 100644 --- a/python-absl-py.spec +++ b/python-absl-py.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-absl-py -Version: 2.1.0 +Version: 2.3.0 Release: 1 Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. License: Apache 2.0 URL: https://github.com/abseil/abseil-py -Source0: https://files.pythonhosted.org/packages/7a/8f/fc001b92ecc467cc32ab38398bd0bfb45df46e7523bf33c2ad22a505f06e/absl-py-2.1.0.tar.gz +Source0: https://files.pythonhosted.org/packages/03/15/18693af986560a5c3cc0b84a8046b536ffb2cdb536e03cce897f2759e284/absl_py-2.3.0.tar.gz BuildArch: noarch Requires: python3-six @@ -77,7 +77,7 @@ license. See [LICENSE](LICENSE) for more information. Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. Provides: python-absl-py = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-setuptools python3-pip python3-wheel python3-hatchling %description -n python3-absl-py # Abseil Python Common Libraries @@ -206,46 +206,29 @@ The Abseil Python library is licensed under the terms of the Apache license. See [LICENSE](LICENSE) for more information. %prep -%autosetup -n absl-py-%{version} +%autosetup -n absl_py-%{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 -if [ -d usr/lib64 ]; then - 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 -fi -if [ -d usr/sbin ]; then - 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 -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-absl-py -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-absl-py +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Thu Jun 19 2025 zengyao - 2.3.0-1 +- Update package to version 2.3.0 + * Fri Jan 26 2024 wangjiang - 2.1.0-1 - Update package to version 2.1.0