Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0e7d0f89c | ||
|
|
8e1b032776 | ||
|
|
e23f70c1b7 | ||
|
|
81b259f345 | ||
|
|
2119ae4714 | ||
|
|
4aafbf0864 | ||
|
|
f0c907df3e |
3 changed files with 29 additions and 29 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <mcepl@redhat.com> - 1.0.2-1
|
||||
- New upstream release (fix #1267548)
|
||||
|
||||
* Wed Aug 12 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu May 14 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.9-1
|
||||
- New upstream release
|
||||
- Run tests on RHEL
|
||||
- New deps: python-idna, python-ipaddress
|
||||
|
||||
* Fri Apr 17 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.8.2-1
|
||||
- New upstream release
|
||||
- Add python3-pyasn1 Requires (#1211073)
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
7d33499e851300c194cbb0396de72462 cryptography-0.8.2.tar.gz
|
||||
6a8627da0c6199fca941dc8170f9b583 cryptography-1.0.2.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue