diff --git a/python-cryptography-vectors.spec b/python-cryptography-vectors.spec index 8566876..48abbef 100644 --- a/python-cryptography-vectors.spec +++ b/python-cryptography-vectors.spec @@ -12,7 +12,7 @@ Name: python-%{modname} Version: 1.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Test vectors for the cryptography package Group: Development/Libraries @@ -33,6 +33,18 @@ 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. +%package -n python2-%{modname} +Group: Development/Libraries +Summary: Test vectors for the cryptography package +Obsoletes: python-cryptography-vectors <= %{version}-%{release} + +%description -n python2-%{modname} +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. + %if 0%{?with_python3} %package -n python3-%{modname} Group: Development/Libraries @@ -71,7 +83,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %{__python3} setup.py test %endif -%files +%files -n python2-%{modname} %doc LICENSE %{python2_sitelib}/%{pymodname}/ %{python2_sitelib}/%{pymodname}-%{version}* @@ -85,6 +97,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %changelog +* Mon Jan 11 2016 Nathaniel McCallum - 1.2.1-2 +- Migrate python-cryptography-vectors => python2-cryptography-vectors + * Sat Jan 09 2016 Nathaniel McCallum - 1.2.1-1 - Update to v1.2.1