diff --git a/pylast.spec b/pylast.spec index 71c34ad..3d31054 100644 --- a/pylast.spec +++ b/pylast.spec @@ -1,65 +1,59 @@ %global srcname pylast +Name: %{srcname} +Version: 3.2.0 +Release: 1%{?dist} +Summary: Python interface to Last.fm API compatible social networks -Name: %{srcname} -Version: 1.9.0 -Release: 8%{?dist} -Summary: A Python interface to Last.fm API compatible social networks -Group: Development/Languages -License: ASL 2.0 -URL: https://pypi.python.org/pypi/%{srcname} -Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz -BuildArch: noarch - +License: ASL 2.0 +URL: https://github.com/pylast/pylast +Source0: https://github.com/pylast/pylast/archive/%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch %description -A Python interface to Last.fm (and other API compatible social networks) - +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 -BuildRequires: python3-coverage -BuildRequires: python3-devel -BuildRequires: python3-mock -BuildRequires: python3-pbr -BuildRequires: python3-pep8 -BuildRequires: python3-py -BuildRequires: python3-pyflakes -BuildRequires: python3-pytest -BuildRequires: python3-setuptools -BuildRequires: python3-six -Requires: python3-six +Summary: %{summary} + +BuildRequires: python3-PyYAML +BuildRequires: python3-coverage +BuildRequires: python3-devel +BuildRequires: python3-mock +BuildRequires: python3-pbr +BuildRequires: python3-pep8 +BuildRequires: python3-py +BuildRequires: python3-pyflakes +BuildRequires: python3-pytest +BuildRequires: python3-setuptools +BuildRequires: python3-six %{?python_provide:%python_provide python3-%{srcname}} - %description -n python3-%{srcname} -A Python interface to Last.fm (and other API compatible social networks) - +A Python interface to Last.fm (and other API compatible social networks). %prep -%setup -q -n %{srcname}-%{version} - +%autosetup -n %{srcname}-%{version} %build %py3_build - %install %py3_install - %check -#%%{__python3} setup.py test - +%{__python3} setup.py test %files -n python3-%{srcname} %license COPYING %doc README.md %{python3_sitelib}/* - %changelog +* Thu Jan 16 2020 Fabian Affolter - 3.2.0-1 +- +- Update to latest upstream release 3.2.0 (rhbz#1790181) + * Thu Oct 03 2019 Miro HronĨok - 1.9.0-8 - Rebuilt for Python 3.8.0rc1 (#1748018)