diff --git a/python-pyotp.spec b/python-pyotp.spec index aa75ee9..28a14c1 100644 --- a/python-pyotp.spec +++ b/python-pyotp.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 2.2.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: BSD @@ -11,7 +11,6 @@ URL: http://pypi.python.org/pypi/%{srcname} Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel BuildRequires: python3-devel %description @@ -19,15 +18,6 @@ A Python library for generating one time passwords according to RFC 4226 and the HOTP RFC. -%package -n python2-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -A Python2 library for generating one time passwords according to -RFC 4226 and the HOTP RFC. - - %package -n python3-%{srcname} Summary: %{sum} %{?python_provide:%python_provide python3-%{srcname}} @@ -42,27 +32,18 @@ RFC 4226 and the HOTP RFC. %build -%py2_build %py3_build %check -%{__python2} test.py %{__python3} test.py %install rm -rf $RPM_BUILD_ROOT -%py2_install %py3_install -%files -n python2-%{srcname} -%doc README.rst -%license LICENSE -%{python2_sitelib}/* - - %files -n python3-%{srcname} %doc README.rst %license LICENSE @@ -70,6 +51,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jul 22 2019 Miro HronĨok - 2.2.7-2 +- Subpackage python2-pyotp has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Tue Jun 11 2019 Gwyn Ciesla - 2.2.7-1 - 2.2.7