Have py2 BRs in the subpackage block
This commit is contained in:
parent
f574d4eb0a
commit
de6aa501a8
@ -16,15 +16,6 @@ License: MIT
|
|||||||
URL: https://github.com/robotis/lesscpy
|
URL: https://github.com/robotis/lesscpy
|
||||||
Source0: https://pypi.python.org/packages/source/l/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/l/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
BuildRequires: python2-ply
|
|
||||||
BuildRequires: python2-nose
|
|
||||||
BuildRequires: python2-coverage
|
|
||||||
BuildRequires: python2-flake8
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
A compiler written in python 3 for the lesscss language. For those of us not\
|
A compiler written in python 3 for the lesscss language. For those of us not\
|
||||||
@ -38,6 +29,12 @@ supported (JavaScript evaluation).
|
|||||||
%package -n python2-lesscpy
|
%package -n python2-lesscpy
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
Requires: python2-ply
|
Requires: python2-ply
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: python2-setuptools
|
||||||
|
BuildRequires: python2-ply
|
||||||
|
BuildRequires: python2-nose
|
||||||
|
BuildRequires: python2-coverage
|
||||||
|
BuildRequires: python2-flake8
|
||||||
%{?python_provide:%python_provide python2-lesscpy}
|
%{?python_provide:%python_provide python2-lesscpy}
|
||||||
|
|
||||||
%description -n python2-lesscpy %_description
|
%description -n python2-lesscpy %_description
|
||||||
|
Loading…
Reference in New Issue
Block a user