diff --git a/python-lesscpy.spec b/python-lesscpy.spec index e502819..9364e9e 100644 --- a/python-lesscpy.spec +++ b/python-lesscpy.spec @@ -16,15 +16,6 @@ License: MIT URL: https://github.com/robotis/lesscpy Source0: https://pypi.python.org/packages/source/l/%{pypi_name}/%{pypi_name}-%{version}.tar.gz 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\ 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 Summary: %summary 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} %description -n python2-lesscpy %_description