From 5307dda69268c97aa76a0e4d1c46ee71a8777dc3c021f6a8862641d60eef649e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Apr 2016 14:34:34 +0000 Subject: [PATCH] Accepting request 390575 from GNOME:Next - Do not package GIMarshallingTests: it's only used by the test suite and is useless on an installed system (the corresponding typelibs and libraries are also not installed). Fix needed for the new gobject-introspection scanner logic in order to not get invalid dependencies OBS-URL: https://build.opensuse.org/request/show/390575 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=60 --- python-gobject.changes | 7 +++++++ python-gobject.spec | 2 ++ python3-gobject.changes | 7 +++++++ python3-gobject.spec | 2 ++ 4 files changed, 18 insertions(+) diff --git a/python-gobject.changes b/python-gobject.changes index d77961f..7466195 100644 --- a/python-gobject.changes +++ b/python-gobject.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 18 14:12:41 UTC 2016 - dimstar@opensuse.org + +- Do not package GIMarshallingTests: it's only used by the test + suite and is useless on an installed system (the corresponding + typelibs and libraries are also not installed). + ------------------------------------------------------------------- Wed Apr 13 11:16:53 UTC 2016 - dimstar@opensuse.org diff --git a/python-gobject.spec b/python-gobject.spec index 1c4343e..b5f0901 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -135,6 +135,8 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f # Drop pygtkcompat layer.it's useless and we lack other stuff for it to work rm %{buildroot}%{local_py_sitedir}/gi/pygtkcompat.py rm -r %{buildroot}%{local_py_sitedir}/pygtkcompat/ +# Drop GIMarshallingTests - It's test suite remainders that should not be installed +find %{buildroot}%{local_py_sitedir}/gi -name GIMarshallingTests.py* -delete -print rm examples/Makefile* %fdupes $RPM_BUILD_ROOT diff --git a/python3-gobject.changes b/python3-gobject.changes index d77961f..7466195 100644 --- a/python3-gobject.changes +++ b/python3-gobject.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 18 14:12:41 UTC 2016 - dimstar@opensuse.org + +- Do not package GIMarshallingTests: it's only used by the test + suite and is useless on an installed system (the corresponding + typelibs and libraries are also not installed). + ------------------------------------------------------------------- Wed Apr 13 11:16:53 UTC 2016 - dimstar@opensuse.org diff --git a/python3-gobject.spec b/python3-gobject.spec index da5e6cd..df81b8e 100644 --- a/python3-gobject.spec +++ b/python3-gobject.spec @@ -135,6 +135,8 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f # Drop pygtkcompat layer.it's useless and we lack other stuff for it to work rm %{buildroot}%{local_py_sitedir}/gi/pygtkcompat.py rm -r %{buildroot}%{local_py_sitedir}/pygtkcompat/ +# Drop GIMarshallingTests - It's test suite remainders that should not be installed +find %{buildroot}%{local_py_sitedir}/gi -name GIMarshallingTests.py* -delete -print rm examples/Makefile* %fdupes $RPM_BUILD_ROOT