python-cloudpickle/python-cloudpickle.spec

62 lines
1.8 KiB
RPMSpec

Name: python-cloudpickle
Version: 2.2.0
Release: 1mamba
Summary: Serialize Python constructs not supported by the default pickle module from the Python standard library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/cloudpickle/
Source: https://pypi.debian.net/cloudpickle/cloudpickle-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n cloudpickle-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/cloudpickle-%{version}-py*.egg-info
%{python_sitearch}/cloudpickle-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Sat May 21 2022 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Sat Sep 11 2021 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2mamba
- rebuilt with distdeps
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
- package created using the webbuild interface