|
|
d376ec4 |
%if 0%{?fedora}
|
|
|
d376ec4 |
%global with_python3 1
|
|
|
d376ec4 |
%endif
|
|
|
d376ec4 |
|
|
|
d376ec4 |
%global srcname cryptography-vectors
|
|
|
d376ec4 |
%global pysrcname cryptography_vectors
|
|
|
01b5d59 |
|
|
|
d376ec4 |
Name: python-%{srcname}
|
|
|
d376ec4 |
Version: 2.0.2
|
|
|
d376ec4 |
Release: 1%{?dist}
|
|
|
d376ec4 |
Summary: Test vectors for the cryptography package
|
|
|
b942616 |
BuildArch: noarch
|
|
|
01b5d59 |
|
|
|
7e46043 |
License: ASL 2.0 or BSD
|
|
|
b942616 |
Group: Development/Libraries
|
|
|
b942616 |
Summary: Test vectors for the cryptography package
|
|
|
01b5d59 |
URL: http://pypi.python.org/pypi/cryptography-vectors
|
|
|
d376ec4 |
Source0: https://pypi.io/packages/source/c/%{srcname}/cryptography_vectors-%{version}.tar.gz
|
|
|
01b5d59 |
|
|
|
d376ec4 |
BuildArch: noarch
|
|
|
d376ec4 |
BuildRequires: python2-devel
|
|
|
d376ec4 |
BuildRequires: python2-setuptools
|
|
|
d376ec4 |
%if 0%{with_python3}
|
|
|
d376ec4 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
d376ec4 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
186750b |
%endif
|
|
|
01b5d59 |
|
|
|
01b5d59 |
%description
|
|
|
01b5d59 |
Test vectors for the cryptography package.
|
|
|
01b5d59 |
|
|
|
01b5d59 |
The only purpose of this package is to be a building requirement for
|
|
|
01b5d59 |
python-cryptography, otherwise it has no use. Don’t install it unless
|
|
|
01b5d59 |
you really know what you are doing.
|
|
|
01b5d59 |
|
|
|
d376ec4 |
%package -n python2-%{srcname}
|
|
|
95c7f06 |
Group: Development/Libraries
|
|
|
95c7f06 |
Summary: Test vectors for the cryptography package
|
|
|
d376ec4 |
Obsoletes: python-cryptography-vectors < %{version}-%{release}
|
|
|
95c7f06 |
|
|
|
d376ec4 |
%if 0%{with_python3}
|
|
|
d376ec4 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
4b59615 |
%else
|
|
|
d376ec4 |
Provides: python-%{srcname} = %{version}-%{release}
|
|
|
4b59615 |
%endif
|
|
|
4b59615 |
|
|
|
d376ec4 |
%description -n python2-%{srcname}
|
|
|
95c7f06 |
Test vectors for the cryptography package.
|
|
|
95c7f06 |
|
|
|
95c7f06 |
The only purpose of this package is to be a building requirement for
|
|
|
95c7f06 |
python-cryptography, otherwise it has no use. Don’t install it unless
|
|
|
95c7f06 |
you really know what you are doing.
|
|
|
95c7f06 |
|
|
|
d376ec4 |
%if 0%{with_python3}
|
|
|
d376ec4 |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
186750b |
Group: Development/Libraries
|
|
|
186750b |
Summary: Test vectors for the cryptography package
|
|
|
186750b |
|
|
|
d376ec4 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
4b59615 |
|
|
|
d376ec4 |
%description -n python%{python3_pkgversion}-%{srcname}
|
|
|
186750b |
Test vectors for the cryptography package.
|
|
|
186750b |
|
|
|
186750b |
The only purpose of this package is to be a building requirement for
|
|
|
186750b |
python-cryptography, otherwise it has no use. Don’t install it unless
|
|
|
186750b |
you really know what you are doing.
|
|
|
186750b |
%endif
|
|
|
186750b |
|
|
|
01b5d59 |
%prep
|
|
|
d376ec4 |
%setup -q -n %{pysrcname}-%{version}
|
|
|
01b5d59 |
|
|
|
01b5d59 |
# Remove bundled egg-info in case it exists
|
|
|
d376ec4 |
rm -rf %{srcname}.egg-info
|
|
|
01b5d59 |
|
|
|
01b5d59 |
|
|
|
01b5d59 |
%build
|
|
|
4b59615 |
%if 0%{?fedora}
|
|
|
d376ec4 |
%py2_build
|
|
|
d376ec4 |
%if 0%{?with_python3}
|
|
|
d376ec4 |
%py3_build
|
|
|
d376ec4 |
%endif # with_python3
|
|
|
d376ec4 |
%else
|
|
|
d376ec4 |
%{__python2} setup.py build
|
|
|
d376ec4 |
%endif # fedora
|
|
|
01b5d59 |
|
|
|
01b5d59 |
%check
|
|
|
01b5d59 |
%{__python2} setup.py test
|
|
|
4b59615 |
%if 0%{?fedora}
|
|
|
186750b |
%{__python3} setup.py test
|
|
|
186750b |
%endif
|
|
|
01b5d59 |
|
|
|
d376ec4 |
%install
|
|
|
4b59615 |
%if 0%{?fedora}
|
|
|
d376ec4 |
%py2_install
|
|
|
d376ec4 |
%if 0%{?with_python3}
|
|
|
d376ec4 |
%py3_install
|
|
|
d376ec4 |
%endif # with_python3
|
|
|
d376ec4 |
%else
|
|
|
d376ec4 |
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
d376ec4 |
%endif # fedora
|
|
|
d376ec4 |
|
|
|
d376ec4 |
%files -n python2-%{srcname}
|
|
|
d376ec4 |
%license LICENSE LICENSE.APACHE LICENSE.BSD
|
|
|
d376ec4 |
%{python2_sitelib}/%{pysrcname}/
|
|
|
d376ec4 |
%{python2_sitelib}/%{pysrcname}-%{version}-py*.egg-info
|
|
|
d376ec4 |
|
|
|
d376ec4 |
%if 0%{with_python3}
|
|
|
d376ec4 |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
d376ec4 |
%license LICENSE LICENSE.APACHE LICENSE.BSD
|
|
|
d376ec4 |
%{python3_sitelib}/%{pysrcname}/
|
|
|
d376ec4 |
%{python3_sitelib}/%{pysrcname}-%{version}-py*.egg-info
|
|
|
186750b |
%endif
|
|
|
01b5d59 |
|
|
|
01b5d59 |
|
|
|
01b5d59 |
%changelog
|
|
|
d376ec4 |
* Thu Aug 03 2017 Christian Heimes <cheimes@redhat.com> - 2.0.2-1
|
|
|
d376ec4 |
- New upstream release 2.0.2
|
|
|
d376ec4 |
- Modernize spec
|
|
|
d376ec4 |
|
|
|
ce62e0a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
|
|
|
ce62e0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ce62e0a |
|
|
|
b942616 |
* Wed Jul 05 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.9-2
|
|
|
b942616 |
- BuildRequire python2-setuptools instead of python-setuptools.
|
|
|
b942616 |
- Use the license macro.
|
|
|
b942616 |
|
|
Christian Heimes |
694ef3c |
* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 1.9-1
|
|
Christian Heimes |
694ef3c |
- Upstream release 1.9
|
|
Christian Heimes |
694ef3c |
|
|
Christian Heimes |
5df9f87 |
* Wed Feb 15 2017 Christian Heimes <cheimes@redhat.com> - 1.7.2-1
|
|
Christian Heimes |
5df9f87 |
- Update to latest upstream
|
|
Christian Heimes |
5df9f87 |
|
|
|
92e44b4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
|
|
92e44b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
92e44b4 |
|
|
|
04eba2a |
* Thu Jan 05 2017 Matěj Cepl <mcepl@redhat.com> - 1.7.1-1
|
|
|
04eba2a |
- Update to v1.7.1
|
|
|
04eba2a |
|
|
|
1231912 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.5.3-2
|
|
|
1231912 |
- Rebuild for Python 3.6
|
|
|
1231912 |
|
|
|
585d207 |
* Mon Nov 07 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.3-1
|
|
|
585d207 |
- Update to v1.5.3
|
|
|
585d207 |
- Update source URL
|
|
|
585d207 |
|
|
|
e08f82a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
|
|
|
e08f82a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
e08f82a |
|
|
|
6338c7e |
* Tue May 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.3.1-2
|
|
|
6338c7e |
- Clean up distro macros
|
|
|
6338c7e |
|
|
|
d99895a |
* Tue May 03 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.3.1-1
|
|
|
d99895a |
- Update to v1.3.1
|
|
|
d99895a |
|
|
|
42373f8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
42373f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
42373f8 |
|
|
|
95c7f06 |
* Mon Jan 11 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-2
|
|
|
95c7f06 |
- Migrate python-cryptography-vectors => python2-cryptography-vectors
|
|
|
95c7f06 |
|
|
|
c1f4551 |
* Sat Jan 09 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-1
|
|
|
c1f4551 |
- Update to v1.2.1
|
|
|
c1f4551 |
|
|
Robert Kuska |
3218089 |
* Wed Nov 11 2015 Robert Kuska <rkuska@redhat.com> - 1.1-1
|
|
Robert Kuska |
3218089 |
- Update to v1.1
|
|
Robert Kuska |
3218089 |
|
|
Robert Kuska |
3840f9c |
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 1.0.2-2
|
|
Robert Kuska |
3840f9c |
- Rebuilt for Python3.5 rebuild
|
|
Robert Kuska |
3840f9c |
|
|
|
6302b86 |
* Wed Sep 30 2015 Matěj Cepl <mcepl@redhat.com> - 1.0.2-1
|
|
|
6302b86 |
- New upstream release (fix #1267548)
|
|
|
6302b86 |
|
|
|
66cc8cd |
* Wed Aug 12 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0-1
|
|
|
66cc8cd |
- New upstream release
|
|
|
66cc8cd |
|
|
|
e093ab6 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
e093ab6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e093ab6 |
|
|
|
6e4ff46 |
* Thu May 14 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.9-1
|
|
|
6e4ff46 |
- New upstream release
|
|
|
6e4ff46 |
|
|
|
c60c96a |
* Fri Apr 17 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.8.2-1
|
|
|
c60c96a |
- New upstream release
|
|
|
c60c96a |
|
|
|
1283b48 |
* Fri Mar 13 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.8-1
|
|
|
1283b48 |
- New upstream release
|
|
|
1283b48 |
|
|
|
186750b |
* Wed Mar 04 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.7.2-2
|
|
|
186750b |
- Add python3 subpackage
|
|
|
186750b |
|
|
|
7e46043 |
* Wed Mar 04 2015 Nathaniel McCallum <npmccallum@redhat.com> - 0.7.2-1
|
|
|
7e46043 |
- New upstream release
|
|
|
7e46043 |
- Now licensed under Apache 2.0 or BSD
|
|
|
7e46043 |
|
|
|
5f7b548 |
* Thu Oct 16 2014 Matej Cepl <mcepl@redhat.com> - 0.6.1-1
|
|
|
5f7b548 |
- New upstream release (fixes among others #1153501)
|
|
|
5f7b548 |
|
|
|
01b5d59 |
* Wed Oct 01 2014 Matej Cepl <mcepl@redhat.com> - 0.5.4-3
|
|
|
01b5d59 |
- Add LICENSE file from the upstream repo.
|
|
|
01b5d59 |
|
|
|
01b5d59 |
* Mon Sep 29 2014 Matej Cepl <mcepl@redhat.com> - 0.5.4-2
|
|
|
01b5d59 |
- initial package for Fedora
|