diff --git a/.gitignore b/.gitignore index e34fbe3..450e371 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ /cryptography-0.7.2.tar.gz /cryptography-0.8.tar.gz /cryptography-0.8.2.tar.gz +/cryptography-0.9.tar.gz +/cryptography-1.0.tar.gz +/cryptography-1.0.2.tar.gz diff --git a/python-cryptography.spec b/python-cryptography.spec index 7653d11..35655fc 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -5,8 +5,11 @@ %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif +%global reqs() %1-idna >= 2.0 %1-pyasn1 %1-six >= 1.4.1 %1-cffi >= 0.8 +%global breqs() %1-setuptools %1-pretend %1-iso8601 %1-cryptography-vectors = %{version} + Name: python-cryptography -Version: 0.8.2 +Version: 1.0.2 Release: 1%{?dist} Summary: PyCA's cryptography library @@ -16,35 +19,19 @@ URL: https://cryptography.io/en/latest/ Source0: https://pypi.python.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz BuildRequires: openssl-devel -BuildRequires: python-enum34 +Requires: openssl BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python-cffi >= 0.8 -BuildRequires: python-six -BuildRequires: python-cryptography-vectors = %{version} -BuildRequires: python-pyasn1 -BuildRequires: python-iso8601 -BuildRequires: python-pretend -BuildRequires: pytest +BuildRequires: pytest %breqs python +BuildRequires: python-enum34 python-ipaddress %reqs python +Requires: python-enum34 python-ipaddress %reqs python %if 0%{?with_python3} BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-cffi >= 0.8 -BuildRequires: python3-six -BuildRequires: python3-cryptography-vectors = %{version} -BuildRequires: python3-pyasn1 -BuildRequires: python3-iso8601 -BuildRequires: python3-pretend -BuildRequires: python3-pytest +BuildRequires: python3-pytest %breqs python3 +BuildRequires: %reqs python3 %endif -Requires: openssl -Requires: python-enum34 -Requires: python-cffi >= 0.8 -Requires: python-six >= 1.6.1 -Requires: python-pyasn1 %description cryptography is a package designed to expose cryptographic primitives and @@ -56,9 +43,7 @@ Group: Development/Libraries Summary: PyCA's cryptography library Requires: openssl -Requires: python3-cffi >= 0.8 -Requires: python3-six >= 1.6.1 -Requires: python3-pyasn1 +Requires: %reqs python3 %description -n python3-cryptography cryptography is a package designed to expose cryptographic primitives and @@ -99,7 +84,6 @@ popd %check -%if 0%{?fedora} > 20 %{__python} setup.py test %if 0%{?with_python3} @@ -107,7 +91,6 @@ pushd %{py3dir} %{__python3} setup.py test popd %endif -%endif %files @@ -123,6 +106,20 @@ popd %changelog +* Wed Sep 30 2015 Matěj Cepl - 1.0.2-1 +- New upstream release (fix #1267548) + +* Wed Aug 12 2015 Nathaniel McCallum - 1.0-1 +- New upstream release + +* Thu Jun 18 2015 Fedora Release Engineering - 0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu May 14 2015 Nathaniel McCallum - 0.9-1 +- New upstream release +- Run tests on RHEL +- New deps: python-idna, python-ipaddress + * Fri Apr 17 2015 Nathaniel McCallum - 0.8.2-1 - New upstream release - Add python3-pyasn1 Requires (#1211073) diff --git a/sources b/sources index 5b85fec..aceb3ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7d33499e851300c194cbb0396de72462 cryptography-0.8.2.tar.gz +6a8627da0c6199fca941dc8170f9b583 cryptography-1.0.2.tar.gz