diff --git a/cloudpickle-2.2.1.tar.gz b/cloudpickle-2.2.1.tar.gz deleted file mode 100644 index 52b5b82..0000000 Binary files a/cloudpickle-2.2.1.tar.gz and /dev/null differ diff --git a/cloudpickle-3.0.0.tar.gz b/cloudpickle-3.0.0.tar.gz new file mode 100644 index 0000000..7e9e70e Binary files /dev/null and b/cloudpickle-3.0.0.tar.gz differ diff --git a/python-cloudpickle.spec b/python-cloudpickle.spec index 87b218a..abba214 100644 --- a/python-cloudpickle.spec +++ b/python-cloudpickle.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-cloudpickle -Version: 2.2.1 +Version: 3.0.0 Release: 1 Summary: Extended pickling support for Python objects License: BSD 3-Clause License URL: https://github.com/cloudpipe/cloudpickle -Source0: https://files.pythonhosted.org/packages/5f/51/913ecca3970a2227cf4d5e8937df52cc28f465ac442216110b8e3323262d/cloudpickle-2.2.1.tar.gz +Source0: https://files.pythonhosted.org/packages/c8/72/42a6570fc61b1f8913529728ad314c7cf5961540728dcad22c33fb2db6b6/cloudpickle-3.0.0.tar.gz BuildArch: noarch @@ -14,9 +14,11 @@ Extended pickling support for Python objects %package -n python3-cloudpickle Summary: Extended pickling support for Python objects -Provides: python-cloudpickle +Provides: python-cloudpickle = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-flit %description -n python3-cloudpickle Extended pickling support for Python objects @@ -30,43 +32,25 @@ Extended pickling support for Python objects %autosetup -n cloudpickle-%{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-cloudpickle -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-cloudpickle +%{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Thu Nov 30 2023 jiangxinyu - 3.0.0-1 +- Upgrade package to version 3.0.0 + * Fri Apr 07 2023 xu_ping <707078654@qq.com> - 2.2.1-1 - Upgrade package to version 2.2.1