Fix python3 BRs and package requires
This commit is contained in:
parent
fc02551bab
commit
b193fc2bf7
@ -18,15 +18,13 @@ BuildArch: noarch
|
|||||||
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: python2-devel python%{python3_pkgversion}-devel
|
BuildRequires: python2-devel python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: python-six
|
BuildRequires: python-six python%{python3_pkgversion}-six
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
# NOTE: git is only needed because part of the build process checks if it's in
|
# NOTE: git is only needed because part of the build process checks if it's in
|
||||||
# a git repo
|
# a git repo
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
|
||||||
Requires: python-six
|
|
||||||
|
|
||||||
# Set the name of the documentation directory
|
# Set the name of the documentation directory
|
||||||
%global _docdir_fmt %{name}
|
%global _docdir_fmt %{name}
|
||||||
|
|
||||||
@ -34,6 +32,7 @@ Requires: python-six
|
|||||||
|
|
||||||
%package -n python2-%{srcname}
|
%package -n python2-%{srcname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
Requires: python-six
|
||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
|
|
||||||
# This package replaces the old version packaged as just breathe
|
# This package replaces the old version packaged as just breathe
|
||||||
@ -44,6 +43,7 @@ Obsoletes: %{srcname} < %{version}-%{release}
|
|||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{srcname}
|
%package -n python%{python3_pkgversion}-%{srcname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
Requires: python%{python3_pkgversion}-six
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-%{srcname} %_description
|
%description -n python%{python3_pkgversion}-%{srcname} %_description
|
||||||
|
Loading…
Reference in New Issue
Block a user