From b193fc2bf7ed3cfa9ad68dc5712f2763b2046a37 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 10 Apr 2016 09:39:44 -0600 Subject: [PATCH] Fix python3 BRs and package requires --- python-breathe.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-breathe.spec b/python-breathe.spec index 2128bac..f337603 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -18,15 +18,13 @@ BuildArch: noarch BuildRequires: doxygen BuildRequires: python2-devel python%{python3_pkgversion}-devel -BuildRequires: python-setuptools -BuildRequires: python-six +BuildRequires: python-setuptools python%{python3_pkgversion}-setuptools +BuildRequires: python-six python%{python3_pkgversion}-six BuildRequires: python-sphinx # NOTE: git is only needed because part of the build process checks if it's in # a git repo BuildRequires: git -Requires: python-six - # Set the name of the documentation directory %global _docdir_fmt %{name} @@ -34,6 +32,7 @@ Requires: python-six %package -n python2-%{srcname} Summary: %{summary} +Requires: python-six %{?python_provide:%python_provide python2-%{srcname}} # This package replaces the old version packaged as just breathe @@ -44,6 +43,7 @@ Obsoletes: %{srcname} < %{version}-%{release} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} +Requires: python%{python3_pkgversion}-six %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} %_description