diff --git a/python-podcastparser.spec b/python-podcastparser.spec index 76920d1..e4a4a70 100644 --- a/python-podcastparser.spec +++ b/python-podcastparser.spec @@ -3,16 +3,13 @@ Name: python-%{modname} Version: 0.6.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{sum} License: ISC URL: https://github.com/gpodder/%{modname} Source0: %{url}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz -BuildRequires: python2-devel -BuildRequires: python2-setuptools - BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -24,15 +21,6 @@ an easy and reliable way of parsing RSS- and Atom-based podcast feeds in Python. -%package -n python2-%{modname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{modname}} - - -%description -n python2-%{modname} -%{sum}. - - %package -n python3-%{modname} Summary: %{sum} %{?python_provide:%python_provide python3-%{modname}} @@ -47,23 +35,15 @@ Summary: %{sum} # Better safe than sorry find . -type f -name '*.py' -exec sed -i /env\ python/d {} ';' -find . -type f -name '*.py' -exec sed -i /env\ python/d {} ';' %build -%py2_build %py3_build %install -%py2_install %py3_install %{!?_licensedir: %global license %doc} -%files -n python2-%{modname} -%doc README.md -%license LICENSE -%{python2_sitelib}/%{modname}* - %files -n python3-%{modname} %doc README.md %license LICENSE @@ -72,6 +52,9 @@ find . -type f -name '*.py' -exec sed -i /env\ python/d {} ';' %changelog +* Thu Oct 04 2018 Gwyn Ciesla - 0.6.3-6 +- Drop python2. + * Sat Jul 14 2018 Fedora Release Engineering - 0.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild