require python-requests-toolbelt-[py*] [release 1.3.0-3mamba;Sat Apr 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:43:02 +01:00
parent 599d11ec3e
commit 1693b1eff7

View File

@ -1,6 +1,6 @@
Name: python-acme
Version: 1.2.0
Release: 1mamba
Version: 1.3.0
Release: 3mamba
Summary: ACME protocol implementation for Python
Group: System/Libraries
Vendor: openmamba
@ -15,15 +15,40 @@ BuildRequires: libpython-devel
BuildRequires: python-cryptography >= 1.5.2-2mamba
BuildRequires: python-pyOpenSSL
Requires: python >= %python_version
Requires: python-cryptography >= 1.5.2-2mamba
Requires: python-pyOpenSSL
Requires: python-ndg-httpsclient
Requires: python-werkzeug
Requires: python-pyOpenSSL
Requires: python-cryptography >= 1.5.2-2mamba
Requires: python-requests-toolbelt
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if "%?with_pyver"
%define pyver %{with_pyver}
%define pyappend py%{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%package py%{pyver}
Group: System/Libraries/Python
Summary: %{summary}.
Requires: python-cryptography-%{?pyappend}
Requires: python-pyOpenSSL-%{?pyappend}
Requires: python-requests-toolbelt-%{?pyappend}
%py_requires
%description py%{pyver}
%{summary}.
%endif
%prep
%setup -q -n acme-%{version}
@ -44,12 +69,21 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
#% check
#python setup.py nosetests
%files -f %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/acme-%{version}-py*.egg-info
%{python_sitearch}/acme-%{version}-py*.egg-info/*
%changelog
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- require python-requests-toolbelt-[py*]
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- rebuilt with py3* packages
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Wed Feb 05 2020 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist