diff --git a/python-pylast.spec b/python-pylast.spec index 0a18554..ecf6f89 100644 --- a/python-pylast.spec +++ b/python-pylast.spec @@ -3,7 +3,7 @@ Name: %{srcname} Version: 1.9.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A Python interface to Last.fm API compatible social networks Group: Development/Languages License: ASL 2.0 @@ -16,29 +16,6 @@ BuildArch: noarch A Python interface to Last.fm (and other API compatible social networks) -%package -n python2-%{srcname} -Summary: A Python interface to Last.fm API compatible social networks -BuildRequires: python2-pyyaml -BuildRequires: python2-pyflakes -BuildRequires: python2-pep8 -BuildRequires: python2-coverage -BuildRequires: python2-devel -BuildRequires: python2-mock -BuildRequires: python2-pbr -BuildRequires: python2-py -BuildRequires: python2-pytest -BuildRequires: python2-setuptools -BuildRequires: python2-six -Requires: python2-six -Obsoletes: %{srcname} < 1.7.0-1 -Provides: %{srcname} = %{version}-%{release} -%{?python_provide:%python_provide python2-%{srcname}} - - -%description -n python2-%{srcname} -A Python interface to Last.fm (and other API compatible social networks) - - %package -n python3-%{srcname} Summary: A Python interface to Last.fm API compatible social networks BuildRequires: python3-PyYAML @@ -65,30 +42,17 @@ A Python interface to Last.fm (and other API compatible social networks) %build -%py2_build %py3_build %install -# Must do the python2 install first because the scripts in /usr/bin are -# overwritten with every setup.py install, and in general we want the -# python3 version to be the default. -%py2_install %py3_install %check -# Tests require https://pypi.python.org/pypi/flaky which isn't packaged yet -#%%{__python2} setup.py test #%%{__python3} setup.py test -%files -n python2-%{srcname} -%license COPYING -%doc README.md -%{python2_sitelib}/ - - %files -n python3-%{srcname} %license COPYING %doc README.md @@ -96,6 +60,10 @@ A Python interface to Last.fm (and other API compatible social networks) %changelog +* Tue Jan 15 2019 Miro HronĨok - 1.9.0-6 +- Subpackage python2-pylast has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Jul 13 2018 Fedora Release Engineering - 1.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild