Open
Update package to version 2.3.0 #10
AtomGit-BotAdd on Jun 19, 2025
Update package to version 2.3.0 #10
Open
Merged fromrefs/pull/10/headintomaster
Total: 3 files changed+12-29
Binary files do not support preview
| @@ -1,11 +1,11 @@ | |||
| 1 | %global _empty_manifest_terminate_build 0 | 1 | %global _empty_manifest_terminate_build 0 |
| 2 | Name: python-absl-py | 2 | Name: python-absl-py |
| 3 | -Version: 2.1.0 | 3 | +Version: 2.3.0 |
| 4 | Release: 1 | 4 | Release: 1 |
| 5 | Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. | 5 | Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. |
| 6 | License: Apache 2.0 | 6 | License: Apache 2.0 |
| 7 | URL: https://github.com/abseil/abseil-py | 7 | URL: https://github.com/abseil/abseil-py |
| 8 | -Source0: https://files.pythonhosted.org/packages/7a/8f/fc001b92ecc467cc32ab38398bd0bfb45df46e7523bf33c2ad22a505f06e/absl-py-2.1.0.tar.gz | 8 | +Source0: https://files.pythonhosted.org/packages/03/15/18693af986560a5c3cc0b84a8046b536ffb2cdb536e03cce897f2759e284/absl_py-2.3.0.tar.gz |
| 9 | BuildArch: noarch | 9 | BuildArch: noarch |
| 10 | 10 | ||
| 11 | Requires: python3-six | 11 | Requires: python3-six |
| @@ -77,7 +77,7 @@ license. See [LICENSE](LICENSE) for more information. | |||
| 77 | Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. | 77 | Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. |
| 78 | Provides: python-absl-py = %{version}-%{release} | 78 | Provides: python-absl-py = %{version}-%{release} |
| 79 | BuildRequires: python3-devel | 79 | BuildRequires: python3-devel |
| 80 | -BuildRequires: python3-setuptools | 80 | +BuildRequires: python3-setuptools python3-pip python3-wheel python3-hatchling |
| 81 | %description -n python3-absl-py | 81 | %description -n python3-absl-py |
| 82 | # Abseil Python Common Libraries | 82 | # Abseil Python Common Libraries |
| 83 | 83 | ||
| @@ -206,46 +206,29 @@ The Abseil Python library is licensed under the terms of the Apache | |||
| 206 | license. See [LICENSE](LICENSE) for more information. | 206 | license. See [LICENSE](LICENSE) for more information. |
| 207 | 207 | ||
| 208 | %prep | 208 | %prep |
| 209 | -%autosetup -n absl-py-%{version} | 209 | +%autosetup -n absl_py-%{version} |
| 210 | 210 | ||
| 211 | %build | 211 | %build |
| 212 | -%py3_build | 212 | +%pyproject_build |
| 213 | 213 | ||
| 214 | %install | 214 | %install |
| 215 | -%py3_install | 215 | +%pyproject_install |
| 216 | install -d -m755 %{buildroot}/%{_pkgdocdir} | 216 | install -d -m755 %{buildroot}/%{_pkgdocdir} |
| 217 | if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi | 217 | if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi |
| 218 | if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi | 218 | if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi |
| 219 | if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi | 219 | if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi |
| 220 | if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi | 220 | if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi |
| 221 | -pushd %{buildroot} | ||
| 222 | -if [ -d usr/lib ]; then | ||
| 223 | - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst | ||
| 224 | -fi | ||
| 225 | -if [ -d usr/lib64 ]; then | ||
| 226 | - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst | ||
| 227 | -fi | ||
| 228 | -if [ -d usr/bin ]; then | ||
| 229 | - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst | ||
| 230 | -fi | ||
| 231 | -if [ -d usr/sbin ]; then | ||
| 232 | - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst | ||
| 233 | -fi | ||
| 234 | -touch doclist.lst | ||
| 235 | -if [ -d usr/share/man ]; then | ||
| 236 | - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst | ||
| 237 | -fi | ||
| 238 | -popd | ||
| 239 | -mv %{buildroot}/filelist.lst . | ||
| 240 | -mv %{buildroot}/doclist.lst . | ||
| 241 | 221 | ||
| 242 | -%files -n python3-absl-py -f filelist.lst | 222 | +%files -n python3-absl-py |
| 243 | -%dir %{python3_sitelib}/* | 223 | +%{python3_sitelib}/* |
| 244 | 224 | ||
| 245 | -%files help -f doclist.lst | 225 | +%files help |
| 246 | %{_docdir}/* | 226 | %{_docdir}/* |
| 247 | 227 | ||
| 248 | %changelog | 228 | %changelog |
| 229 | +* Thu Jun 19 2025 zengyao <zengy@teligen.net> - 2.3.0-1 | ||
| 230 | +- Update package to version 2.3.0 | ||
| 231 | + | ||
| 249 | * Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.0-1 | 232 | * Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.0-1 |
| 250 | - Update package to version 2.1.0 | 233 | - Update package to version 2.1.0 |
| 251 | 234 | ||