diff --git a/python-tblib.spec b/python-tblib.spec index de8d32f..12eb561 100644 --- a/python-tblib.spec +++ b/python-tblib.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.3.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Traceback serialization library License: BSD @@ -23,19 +23,6 @@ Traceback serialization library that allows you to: \ %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} - -BuildRequires: python2-devel -BuildRequires: python2-pytest -BuildRequires: python2-six - -Requires: python2-six - -%description -n python2-%{srcname} %{_description} - - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -56,7 +43,6 @@ Requires: python3-six %build -%py2_build %py3_build PYTHONPATH="src" \ @@ -64,24 +50,14 @@ PYTHONPATH="src" \ %install -%py2_install %py3_install %check -PYTHONPATH="%{buildroot}%{python2_sitelib}:tests" \ - py.test -ra tests README.rst PYTHONPATH="%{buildroot}%{python3_sitelib}:tests" \ py.test-%{python3_version} -ra tests README.rst -%files -n python2-%{srcname} -%license LICENSE -%doc README.rst -%{python2_sitelib}/%{srcname} -%{python2_sitelib}/%{srcname}-%{version}-py?.?.egg-info - - %files -n python3-%{srcname} %license LICENSE %doc README.rst @@ -90,6 +66,9 @@ PYTHONPATH="%{buildroot}%{python3_sitelib}:tests" \ %changelog +* Mon Oct 01 2018 Elliott Sales de Andrade 1.3.2-6 +- Drop Python 2 subpackage + * Sat Jul 14 2018 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild