use python2- prefixes as per guidelines
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
ead9c24f7f
commit
8699790864
@ -19,8 +19,8 @@ BuildArch: noarch
|
|||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python2-sphinx
|
||||||
BuildRequires: python-enum34
|
BuildRequires: python2-enum34
|
||||||
%endif
|
%endif
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -44,12 +44,12 @@ flow.
|
|||||||
%package -n python2-%{srcname}
|
%package -n python2-%{srcname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
Obsoletes: python-%{srcname} < 1.11.1-1
|
Obsoletes: python-%{srcname} < 1.11.1-1
|
||||||
Requires: python-enum34
|
Requires: python2-enum34
|
||||||
|
|
||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
|
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
|
||||||
Suggests: numpy
|
Suggests: python2-numpy
|
||||||
Suggests: pytz
|
Suggests: python2-pytz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description -n python2-%{srcname}
|
%description -n python2-%{srcname}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user