%global srcname pyotp %global sum Python One Time Password library Name: python-%{srcname} Version: 2.2.7 Release: 3%{?dist} Summary: %{sum} License: BSD URL: http://pypi.python.org/pypi/%{srcname} Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %description A Python 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}} %description -n python3-%{srcname} A Python3 library for generating one time passwords according to RFC 4226 and the HOTP RFC. %prep %setup -q -n %{srcname}-%{version} %build %py3_build %check %{__python3} test.py %install rm -rf $RPM_BUILD_ROOT %py3_install %files -n python3-%{srcname} %doc README.rst %license LICENSE %{python3_sitelib}/* %changelog * Fri Jul 26 2019 Fedora Release Engineering - 2.2.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * 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 * Sat Feb 02 2019 Fedora Release Engineering - 2.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 2.2.6-2 - Rebuilt for Python 3.7 * Fri Feb 16 2018 Lumir Balhar - 2.2.6-1 - New upstream version * Fri Feb 09 2018 Fedora Release Engineering - 2.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 2.1.1-2 - Rebuild for Python 3.6 * Wed Jul 27 2016 Lumir Balhar - 2.1.1 - 1 - Update to 2.1.1. - Add Python3 * Tue Jul 19 2016 Fedora Release Engineering - 1.3.1-8 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 29 2012 Konstantin Ryabitsev - 1.3.1-1 - Update to 1.3.1 which includes the LICENSE file. * Tue Feb 28 2012 Konstantin Ryabitsev - 1.3.0-1 - Initial packaging.