diff --git a/python-blessings.spec b/python-blessings.spec index 7f98eb1..ccb116f 100644 --- a/python-blessings.spec +++ b/python-blessings.spec @@ -1,14 +1,9 @@ %global upstream_name blessings -%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_without python3 -%else -%bcond_with python3 -%endif Name: python-%{upstream_name} Version: 1.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python library for terminal coloring, styling, and positioning License: MIT URL: https://github.com/erikrose/blessings @@ -22,20 +17,6 @@ BuildArch: noarch Blessings is a thin, practical wrapper around terminal coloring, styling, and positioning in Python. -%package -n python2-%{upstream_name} -Summary: Python 2 library for terminal coloring, styling, and positioning -%{?python_provide:%python_provide python2-%{upstream_name}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-nose -BuildRequires: python2-six -Requires: python2-six - -%description -n python2-%{upstream_name} -Blessings is a thin, practical wrapper around terminal coloring, styling, and -positioning in Python. - -%if %{with python3} %package -n python3-%{upstream_name} Summary: Python 3 library for terminal coloring, styling, and positioning %{?python_provide:%python_provide python3-%{upstream_name}} @@ -48,7 +29,6 @@ Requires: python3-six %description -n python3-%{upstream_name} Blessings is a thin, practical wrapper around terminal coloring, styling, and positioning in Python. -%endif %prep %setup -q -n %{upstream_name}-%{version} @@ -57,38 +37,25 @@ positioning in Python. rm -rf blessings.egg-info %build -%py2_build -%if %{with python3} %py3_build -%endif %install -%py2_install -%if %{with python3} %py3_install -%endif %check -nosetests-2 build/lib -%if %{with python3} nosetests-3 build/lib -%endif -%files -n python2-%{upstream_name} -%doc README.rst -%license LICENSE -%{python2_sitelib}/blessings -%{python2_sitelib}/blessings*.egg-info - -%if %{with python3} %files -n python3-%{upstream_name} %doc README.rst %license LICENSE %{python3_sitelib}/blessings %{python3_sitelib}/blessings*.egg-info -%endif %changelog +* Thu May 09 2019 Miro HronĨok - 1.7-5 +- Subpackage python2-blessings has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Feb 02 2019 Fedora Release Engineering - 1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild