RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/python-cryptography-vectors#ed0f9b60e7c55c9ce8a2277b7a0c732ee730789d
This commit is contained in:
Troy Dawson 2020-10-14 18:06:41 -07:00
parent 8fdefd4927
commit 764c33d9bc
4 changed files with 198 additions and 0 deletions

18
.gitignore vendored
View File

@ -0,0 +1,18 @@
/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-2.5.tar.gz
/cryptography_vectors-2.6.1.tar.gz
/cryptography_vectors-2.7.tar.gz
/cryptography_vectors-2.8.tar.gz
/cryptography_vectors-2.9.tar.gz
/cryptography_vectors-3.0.tar.gz
/cryptography_vectors-3.1.tar.gz

2
.rpmlint Normal file
View File

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

View File

@ -0,0 +1,177 @@
%if 0%{?fedora} || 0%{?rhel} > 7
# Enable python3 build by default
%bcond_without python3
%else
%bcond_with python3
%endif
%if 0%{?fedora} > 31 || 0%{?rhel} > 7
# Disable python2 build by default
%bcond_with python2
%else
%bcond_without python2
%endif
%global srcname cryptography-vectors
%global pysrcname cryptography_vectors
Name: python-%{srcname}
Version: 3.1
Release: 1%{?dist}
License: ASL 2.0 or BSD
Summary: Test vectors for the cryptography package
URL: https://pypi.python.org/pypi/cryptography-vectors
Source0: https://pypi.io/packages/source/c/%{srcname}/cryptography_vectors-%{version}.tar.gz
BuildArch: noarch
%description
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.
%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}
Summary: Test vectors for the cryptography package
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{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
%prep
%setup -q -n %{pysrcname}-%{version}
rm -vrf %{pysrcname}.egg-info
%build
%if 0%{?with_python2}
%py2_build
%endif
%if 0%{?with_python3}
%py3_build
%endif
%check
%if 0%{?with_python2}
%{__python2} setup.py test
%endif
%if 0%{?with_python3}
%{__python3} setup.py test
%endif
%install
%if 0%{?with_python2}
%py2_install
%endif
%if 0%{?with_python3}
%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}
%license LICENSE LICENSE.APACHE LICENSE.BSD
%{python3_sitelib}/%{pysrcname}/
%{python3_sitelib}/%{pysrcname}-%{version}-py*.egg-info
%endif
%changelog
* Mon Sep 07 2020 Christian Heimes <cheimes@redhat.com> - 3.1-1
- Update to 3.1 (#1872979)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 21 2020 Christian Heimes <cheimes@redhat.com> - 3.0-1
- Update to 3.0 (#185896)
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.9-2
- Rebuilt for Python 3.9
* Fri Apr 03 2020 Christian Heimes <cheimes@redhat.com> - 2.9-1
- Update to 2.9 (#1820347)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 17 2019 Christian Heimes <cheimes@redhat.com> - 2.8-1
- Update to 2.8
- Resolves: rhbz#1762778
* Sat Oct 12 2019 Christian Heimes <cheimes@redhat.com> - 2.7-2
- Drop Python 2 package
- Resolves: rhbz#1761082
* Tue Sep 03 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 2.7-1
- Update to 2.7 (#1715681).
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Feb 28 2019 Christian Heimes <cheimes@redhat.com> - 2.6.1-1
- New upstream release 2.6.1, resolves RHBZ#1683692
* Wed Feb 13 2019 Alfredo Moralejo <amoralej@redhat.com> - 2.5-1
- Update to 2.5.
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jul 18 2018 Christian Heimes <cheimes@redhat.com> - 2.3-1
- New upstream release 2.3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-5
- Rebuilt for Python 3.7
* Tue Jun 19 2018 Christian Heimes <cheimes@redhat.com> - 2.2.1-4
- Fix typo
* Tue Jun 19 2018 Christian Heimes <cheimes@redhat.com> - 2.2.1-3
- Build Python 2 package conditionally
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-2
- Rebuilt for Python 3.7
* Wed Mar 21 2018 Christian Heimes <cheimes@redhat.com> - 2.2.1-1
- New upstream release 2.2.1
* Sun Feb 18 2018 Christian Heimes <cheimes@redhat.com> - 2.1.4-1
- New upstream release 2.1.4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (cryptography_vectors-3.1.tar.gz) = 094076a26ba4cae1bf0408844abbb9b3a5634f97657e4627e10b8a7c7424b69574fd9d719d5c258aa02244bee8b395f09c51af79350971072b2f9719446743c1