diff --git python-lesscpy/python-lesscpy.spec python-lesscpy/python-lesscpy.spec.tmp index 6407ac9181..200ea9785d 100644 --- python-lesscpy/python-lesscpy.spec +++ python-lesscpy/python-lesscpy.spec.tmp @@ -8,7 +8,7 @@ Name: python-%{pypi_name} Version: 0.10.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Lesscss compiler License: MIT @@ -23,12 +23,20 @@ BuildRequires: python-nose BuildRequires: python-coverage BuildRequires: python-flake8 +%global _description\ +A compiler written in python 3 for the lesscss language. For those of us not\ +willing/able to have node.js installed in our environment. Not all features\ +of lesscss are supported (yet). Some features wil probably never be\ +supported (JavaScript evaluation). + +%description %_description + +%package -n python2-lesscpy +Summary: %summary Requires: python-ply -%description -A compiler written in python 3 for the lesscss language. For those of us not -willing/able to have node.js installed in our environment. Not all features -of lesscss are supported (yet). Some features wil probably never be -supported (JavaScript evaluation). +%{?python_provide:%python_provide python2-lesscpy} + +%description -n python2-lesscpy %_description %if 0%{?with_python3} %package -n python3-lesscpy @@ -89,7 +97,7 @@ popd #popd #%endif # with_python3 -%files +%files -n python2-lesscpy %doc LICENSE %{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -104,6 +112,10 @@ popd %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.10.1-11 +- Python 2 binary package renamed to python2-lesscpy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.10.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild