Compare commits
No commits in common. "c8s" and "imports/c8/python-cryptography-vectors-2.3-1.el8" have entirely different histories.
c8s
...
imports/c8
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,13 +1 @@
|
|||||||
/cryptography_vectors-1.3.1.tar.gz
|
SOURCES/cryptography_vectors-2.3.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
|
|
||||||
|
1
.python-cryptography-vectors.metadata
Normal file
1
.python-cryptography-vectors.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
275e55bc76d74134c7e3e8ed733f2ca31c19286b SOURCES/cryptography_vectors-2.3.tar.gz
|
2
.rpmlint
2
.rpmlint
@ -1,2 +0,0 @@
|
|||||||
addFilter("pem-certificate /usr/lib/python.*")
|
|
||||||
addFilter("no-documentation")
|
|
@ -1,9 +1,23 @@
|
|||||||
|
%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: 3.2.1
|
Version: 2.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?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
|
||||||
@ -18,6 +32,22 @@ The only purpose of this package is to be a building requirement for
|
|||||||
python-cryptography, otherwise it has no use. Don’t install it unless
|
python-cryptography, otherwise it has no use. Don’t 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. Don’t 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
|
||||||
@ -30,33 +60,51 @@ 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. Don’t install it unless
|
python-cryptography, otherwise it has no use. Don’t 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
|
Loading…
Reference in New Issue
Block a user