From eebd4be2c294b4c895fceb6a9ffce9a7f497ee94 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 2 Oct 2015 18:36:27 +0200 Subject: [PATCH] - don't install common files twice --- python-pygobject3.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-pygobject3.spec b/python-pygobject3.spec index c3065d8..0f1975a 100644 --- a/python-pygobject3.spec +++ b/python-pygobject3.spec @@ -31,7 +31,6 @@ BuildRequires: xz %if %{with python2} BuildRequires: python-devel >= 1:2.7 BuildRequires: python-pycairo-devel >= 1.2.0 -Requires: python-modules >= 1:2.7 %endif %if %{with python3} BuildRequires: python3 >= 3.2.2-3 @@ -41,6 +40,7 @@ BuildRequires: python3-pycairo-devel >= 1.10.0 %endif Requires: glib2 >= 1:2.38.0 Requires: gobject-introspection >= 1.38.0 +Requires: python-modules >= 1:2.7 Conflicts: python-pygobject < 2.28.6-3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -146,7 +146,8 @@ cd py3 ../%configure \ PYTHON=/usr/bin/python3 \ PYTHON_LIBS=-lpython3 \ - --disable-silent-rules + --disable-silent-rules \ + %{?with_python2:--without-common} %{__make} cd .. %endif -- 2.44.0