diff --git a/pyjokes.spec b/pyjokes.spec index a3f8102..0e942fc 100644 --- a/pyjokes.spec +++ b/pyjokes.spec @@ -4,7 +4,7 @@ Name: %{pypi_name} Version: 0.5.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: %{global_desc} License: BSD @@ -13,9 +13,7 @@ Source0: https://github.com/%{pypi_name}/%{pypi_name}/archive/v%{version} BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python2-devel %if 0%{?with_tests} -BuildRequires: python2-pytest BuildRequires: python3-pytest %endif @@ -23,14 +21,6 @@ BuildRequires: python3-pytest %description %{global_desc}. -%package -n python2-%{pypi_name} -Summary: %{global_desc} - -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -%{global_desc}. - %package -n python3-%{pypi_name} Summary: %{global_desc}. This package includes a commandline interface. @@ -43,27 +33,16 @@ Summary: %{global_desc}. This package includes a commandline interface. %setup -q -n %{pypi_name}-%{version} %build -%py2_build %py3_build %install -%py2_install -rm %{buildroot}%{_bindir}/* %py3_install %check %if %{with_tests} -%{__python2} setup.py test %{__python3} setup.py test %endif -%files -n python2-%{pypi_name} -%license LICENCE.txt -%doc docs/* -# For noarch packages: sitelib -%{python2_sitelib}/pyjokes-* -%{python2_sitelib}/pyjokes/ - %files -n python3-%{pypi_name} %license LICENCE.txt %doc docs/* @@ -73,6 +52,9 @@ rm %{buildroot}%{_bindir}/* %{python3_sitelib}/pyjokes/ %changelog +* Tue Dec 11 2018 Paul Whalen - 0.5.0-10 +- Python 2 Package Removal + * Fri Jul 13 2018 Fedora Release Engineering - 0.5.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild