update to 3.3.2 [release 3.3.2-1mamba;Fri Apr 09 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:59:57 +01:00
parent 75c56bb0c0
commit 64748988b7

View File

@ -1,5 +1,5 @@
Name: python-cryptography
Version: 3.3.1
Version: 3.3.2
Release: 1mamba
Summary: Cryptographic recipes and primitives to Python developers
Group: System/Libraries
@ -13,46 +13,16 @@ License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(cffi)
BuildRequires: python3.7dist(six)
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python-enum34
Requires: python-pyasn1
Requires: python-idna
Requires: python-cffi
Requires: python-ipaddress
Requires: python-packaging
Requires: python-asn1crypto
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}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
@ -71,13 +41,19 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/cryptography-%{version}-py*.egg-info
%{python_sitearch}/cryptography-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-1mamba
- update to 3.3.2
* Fri Dec 11 2020 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist