update to 2.9 [release 2.9-1mamba;Sat Apr 11 2020]
This commit is contained in:
parent
f663ab91f4
commit
660c263a22
@ -1,5 +1,5 @@
|
||||
Name: python-cryptography
|
||||
Version: 2.8
|
||||
Version: 2.9
|
||||
Release: 1mamba
|
||||
Summary: Cryptographic recipes and primitives to Python developers
|
||||
Group: System/Libraries
|
||||
@ -28,6 +28,33 @@ 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-pyasn1-%{?pyappend}
|
||||
Requires: python-idna-%{?pyappend}
|
||||
Requires: python-cffi-%{?pyappend}
|
||||
Requires: python-ipaddress-%{?pyappend}
|
||||
Requires: python-packaging-%{?pyappend}
|
||||
Requires: python-asn1crypto-%{?pyappend}
|
||||
%py_requires
|
||||
|
||||
%description py%{pyver}
|
||||
%{summary}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n cryptography-%{version}
|
||||
#%patch0 -p1
|
||||
@ -46,11 +73,14 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9-1mamba
|
||||
- update to 2.9
|
||||
|
||||
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user