diff --git a/python-rpmfluff.spec b/python-rpmfluff.spec index 2d1e885..c6d8b8b 100644 --- a/python-rpmfluff.spec +++ b/python-rpmfluff.spec @@ -2,7 +2,7 @@ Name: python-%{modname} Version: 0.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight way of building RPMs, and sabotaging them License: GPLv2+ @@ -21,24 +21,12 @@ such as rpm and yum. %description %{_description} -%package -n python2-%{modname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modname}} -BuildRequires: gcc -BuildRequires: python2-devel -BuildRequires: python2-rpm -Requires: rpm-build -Requires: createrepo_c - -%description -n python2-%{modname} %{_description} - -Python 2 version. - %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} +BuildRequires: gcc BuildRequires: python3-devel -BuildRequires: rpm-python3 +BuildRequires: python3-rpm Requires: rpm-build Requires: createrepo_c @@ -50,23 +38,14 @@ Python 3 version. %autosetup -n %{modname}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -python2 %{modname}.py python3 %{modname}.py -%files -n python2-%{modname} -%license LICENSE -%doc README.md -%{python2_sitelib}/%{modname}.py* -%{python2_sitelib}/%{modname}-*.egg-info - %files -n python3-%{modname} %license LICENSE %doc README.md @@ -75,6 +54,10 @@ python3 %{modname}.py %{python3_sitelib}/%{modname}-*.egg-info %changelog +* Fri Jan 04 2019 Miro HronĨok - 0.5.5-2 +- Subpackage python2-rpmfluff has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sun Jul 22 2018 Jan Hutar - 0.5.5-1 - Fixing tests to be able to build in Fedora 29