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