Compare commits

..

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

5 changed files with 25 additions and 59 deletions

14
.gitignore vendored
View File

@ -1 +1,13 @@
SOURCES/cryptography_vectors-2.3.tar.gz /cryptography_vectors-1.3.1.tar.gz
/cryptography_vectors-1.5.3.tar.gz
/cryptography_vectors-1.7.1.tar.gz
/cryptography_vectors-1.7.2.tar.gz
/cryptography_vectors-1.9.tar.gz
/cryptography_vectors-2.0.2.tar.gz
/cryptography_vectors-2.1.tar.gz
/cryptography_vectors-2.1.3.tar.gz
/cryptography_vectors-2.1.4.tar.gz
/cryptography_vectors-2.2.1.tar.gz
/cryptography_vectors-2.3.tar.gz
/cryptography_vectors-3.2.tar.gz
/cryptography_vectors-3.2.1.tar.gz

View File

@ -1 +0,0 @@
275e55bc76d74134c7e3e8ed733f2ca31c19286b SOURCES/cryptography_vectors-2.3.tar.gz

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
addFilter("pem-certificate /usr/lib/python.*")
addFilter("no-documentation")

View File

@ -1,23 +1,9 @@
%if 0%{?fedora} || 0%{?rhel} > 7
# Enable python3 build by default
%bcond_without python3
%else
%bcond_with python3
%endif
%if 0%{?rhel} > 7
# Disable python2 build by default
%bcond_with python2
%else
%bcond_without python2
%endif
%global srcname cryptography-vectors %global srcname cryptography-vectors
%global pysrcname cryptography_vectors %global pysrcname cryptography_vectors
Name: python-%{srcname} Name: python-%{srcname}
Version: 2.3 Version: 3.2.1
Release: 1%{?dist} Release: 2%{?dist}
License: ASL 2.0 or BSD License: ASL 2.0 or BSD
Summary: Test vectors for the cryptography package Summary: Test vectors for the cryptography package
URL: https://pypi.python.org/pypi/cryptography-vectors URL: https://pypi.python.org/pypi/cryptography-vectors
@ -32,22 +18,6 @@ The only purpose of this package is to be a building requirement for
python-cryptography, otherwise it has no use. Dont install it unless python-cryptography, otherwise it has no use. Dont install it unless
you really know what you are doing. you really know what you are doing.
%if 0%{?with_python2}
%package -n python2-%{srcname}
Summary: Test vectors for the cryptography package
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
Test vectors for the cryptography package.
The only purpose of this package is to be a building requirement for
python-cryptography, otherwise it has no use. Dont install it unless
you really know what you are doing.
%endif
%if 0%{?with_python3}
%package -n python%{python3_pkgversion}-%{srcname} %package -n python%{python3_pkgversion}-%{srcname}
Summary: Test vectors for the cryptography package Summary: Test vectors for the cryptography package
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
@ -60,51 +30,33 @@ Test vectors for the cryptography package.
The only purpose of this package is to be a building requirement for The only purpose of this package is to be a building requirement for
python-cryptography, otherwise it has no use. Dont install it unless python-cryptography, otherwise it has no use. Dont install it unless
you really know what you are doing. you really know what you are doing.
%endif
%prep %prep
%setup -q -n %{pysrcname}-%{version} %setup -q -n %{pysrcname}-%{version}
rm -vrf %{pysrcname}.egg-info rm -vrf %{pysrcname}.egg-info
%build %build
%if 0%{?with_python2}
%py2_build
%endif
%if 0%{?with_python3}
%py3_build %py3_build
%endif
%check %check
%if 0%{?with_python2}
%{__python2} setup.py test
%endif
%if 0%{?with_python3}
%{__python3} setup.py test %{__python3} setup.py test
%endif
%install %install
%if 0%{?with_python2}
%py2_install
%endif
%if 0%{?with_python3}
%py3_install %py3_install
%endif
%if 0%{?with_python2}
%files -n python2-%{srcname}
%license LICENSE LICENSE.APACHE LICENSE.BSD
%{python2_sitelib}/%{pysrcname}/
%{python2_sitelib}/%{pysrcname}-%{version}-py*.egg-info
%endif
%if 0%{?with_python3}
%files -n python%{python3_pkgversion}-%{srcname} %files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE LICENSE.APACHE LICENSE.BSD %license LICENSE LICENSE.APACHE LICENSE.BSD
%{python3_sitelib}/%{pysrcname}/ %{python3_sitelib}/%{pysrcname}/
%{python3_sitelib}/%{pysrcname}-%{version}-py*.egg-info %{python3_sitelib}/%{pysrcname}-%{version}-py*.egg-info
%endif
%changelog %changelog
* Wed Jan 6 14:37:40 CET 2021 Christian Heimes <cheimes@redhat.com> - 3.2.1-2
- Rebuild for gating
* Wed Oct 28 2020 Christian Heimes <cheimes@redhat.com> - 3.2.1-1
- Rebase to upstream release 3.2.1
- Resolves: rhbz#1873581
* Wed Jul 18 2018 Christian Heimes <cheimes@redhat.com> - 2.3-1 * Wed Jul 18 2018 Christian Heimes <cheimes@redhat.com> - 2.3-1
- New upstream release 2.3 - New upstream release 2.3
- Fix AEAD tag truncation bug, RHBZ#1602755 - Fix AEAD tag truncation bug, RHBZ#1602755

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (cryptography_vectors-3.2.1.tar.gz) = 44ff756a6ece9700f7657f8ba92417e95bf273cf500f1dab2141de5b2af6e61840d65c37b766abd752c76025ead1550bfc7b7340ce5774c75fd0bb8ac768cdd8