]> git.pld-linux.org Git - packages/python-pygobject3.git/commitdiff
- don't install common files twice
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 2 Oct 2015 16:36:27 +0000 (18:36 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 2 Oct 2015 16:36:27 +0000 (18:36 +0200)
python-pygobject3.spec

index c3065d8af57c8af97f49f877e2e934a1872e3898..0f1975ad52b4d66a4057cc8ccbeac42e44961094 100644 (file)
@@ -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
This page took 0.07703 seconds and 4 git commands to generate.