Python 2 binary package renamed to python2-lesscpy

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:41:21 -04:00
parent 3e0beb47da
commit 937274f8a5

View File

@ -8,7 +8,7 @@
Name: python-%{pypi_name}
Version: 0.10.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Lesscss compiler
License: MIT
@ -23,13 +23,21 @@ BuildRequires: python-nose
BuildRequires: python-coverage
BuildRequires: python-flake8
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
%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
%{?python_provide:%python_provide python2-lesscpy}
%description -n python2-lesscpy %_description
%if 0%{?with_python3}
%package -n python3-lesscpy
Summary: Lesscss compiler
@ -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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 0.10.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild