Open
Update package to version 2.3.0 #10
AtomGit-BotAdd on Jun 19, 2025
Update package to version 2.3.0 #10
Open
AtomGit-BotAdd on Jun 19, 2025
Merged fromrefs/pull/10/headintomaster
Total: 3 files changed+12-29
Binary files do not support preview
Binary files do not support preview
@@ -1,11 +1,11 @@
1%global _empty_manifest_terminate_build 01%global _empty_manifest_terminate_build 0
2Name: python-absl-py2Name: python-absl-py
3-Version: 2.1.03+Version: 2.3.0
4Release: 14Release: 1
5Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.5Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
6License: Apache 2.06License: Apache 2.0
7URL: https://github.com/abseil/abseil-py7URL: https://github.com/abseil/abseil-py
8-Source0: https://files.pythonhosted.org/packages/7a/8f/fc001b92ecc467cc32ab38398bd0bfb45df46e7523bf33c2ad22a505f06e/absl-py-2.1.0.tar.gz8+Source0: https://files.pythonhosted.org/packages/03/15/18693af986560a5c3cc0b84a8046b536ffb2cdb536e03cce897f2759e284/absl_py-2.3.0.tar.gz
9BuildArch: noarch9BuildArch: noarch
10 10 
11Requires: python3-six11Requires: python3-six
@@ -77,7 +77,7 @@ license. See [LICENSE](LICENSE) for more information.
77Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.77Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
78Provides: python-absl-py = %{version}-%{release}78Provides: python-absl-py = %{version}-%{release}
79BuildRequires: python3-devel79BuildRequires: python3-devel
80-BuildRequires: python3-setuptools80+BuildRequires: python3-setuptools python3-pip python3-wheel python3-hatchling
81%description -n python3-absl-py81%description -n python3-absl-py
82# Abseil Python Common Libraries82# Abseil Python Common Libraries
83 83 
@@ -206,46 +206,29 @@ The Abseil Python library is licensed under the terms of the Apache
206license. See [LICENSE](LICENSE) for more information.206license. See [LICENSE](LICENSE) for more information.
207 207 
208%prep208%prep
209-%autosetup -n absl-py-%{version}209+%autosetup -n absl_py-%{version}
210 210 
211%build211%build
212-%py3_build212+%pyproject_build
213 213 
214%install214%install
215-%py3_install215+%pyproject_install
216install -d -m755 %{buildroot}/%{_pkgdocdir}216install -d -m755 %{buildroot}/%{_pkgdocdir}
217if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi217if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
218if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi218if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
219if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi219if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
220if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi220if [ -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.lst222+%files -n python3-absl-py
243-%dir %{python3_sitelib}/*223+%{python3_sitelib}/*
244 224 
245-%files help -f doclist.lst225+%files help
246%{_docdir}/*226%{_docdir}/*
247 227 
248%changelog228%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-1232* Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.0-1
250- Update package to version 2.1.0233- Update package to version 2.1.0
251 234