python-future/python-future.spec

70 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-future
Version: 0.18.3
Release: 1mamba
Summary: Clean single-source support for Python 3 and 2
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/future/
Source: https://pypi.debian.net/future/future-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(setuptools)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n future-%{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}/future-%{version}-py*.egg-info
%{python_sitearch}/future-%{version}-py*.egg-info/*
%changelog
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 0.18.3-1mamba
- automatic version update by autodist
* Sat May 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.2-2mamba
- rebuilt with py27 and py3 targets
* Wed Nov 06 2019 Automatic Build System <autodist@mambasoft.it> 0.18.2-1mamba
- automatic version update by autodist
* Sat Oct 19 2019 Automatic Build System <autodist@mambasoft.it> 0.18.1-1mamba
- automatic version update by autodist
* Mon Oct 14 2019 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
- automatic version update by autodist
* Wed Oct 31 2018 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
- automatic version update by autodist
* Tue Oct 30 2018 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-1mamba
- package created using the webbuild interface