diff --git a/python-cssmin.spec b/python-cssmin.spec index 196908f7e0..184502d710 100644 --- a/python-cssmin.spec +++ b/python-cssmin.spec @@ -6,7 +6,7 @@ Name: python-cssmin Version: 0.2.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A Python port of the YUI CSS compression algorithm Group: Development/Libraries @@ -16,21 +16,28 @@ Source0: https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}- Patch0: python-cssmin-rename-bin.patch BuildArch: noarch -Requires: python-setuptools BuildRequires: python2-devel python-setuptools %if 0%{?with_python3} -Requires: python3-setuptools BuildRequires: python3-devel python3-setuptools %endif -%description -A Python port of the YUI CSS compression algorithm. The library can be used for +%global _description\ +A Python port of the YUI CSS compression algorithm. The library can be used for\ merging and compressing CSS files. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +Requires: python2-setuptools +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: %{summary} - +Requires: python3-setuptools %description -n python3-%{pypi_name} %{description} @@ -77,7 +84,7 @@ cd src && \ }""")'; \ %endif -%files +%files -n python2-%{pypi_name} %doc PKG-INFO %{python_sitelib}/cssmin.py* %{python_sitelib}/*.egg-info @@ -93,6 +100,10 @@ cd src && \ %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.2.0-8 +- Python 2 binary package renamed to python2-cssmin + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild