From 937274f8a5888f1e97df4b55e1b47c96fef7486b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:41:21 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-lesscpy --- python-lesscpy.spec | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/python-lesscpy.spec b/python-lesscpy.spec index 6407ac9..6e5bf2d 100644 --- a/python-lesscpy.spec +++ b/python-lesscpy.spec @@ -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 +* Sat Aug 19 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