Dominique Leuenberger 2013-09-12 09:09:27 +00:00 committed by Git OBS Bridge
parent c4bca0e3c7
commit c4adbbd121
4 changed files with 22 additions and 38 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Sep 12 09:04:15 UTC 2013 - dimstar@opensuse.org
- Drop pygtkcompat subpackage: the compatibility layer is no longer
used and causes adverse side-effects (like pulling in Gtk2,
which is not corectly introspectable, causing all kind of other
weird issues).
-------------------------------------------------------------------
Mon Sep 2 13:34:14 UTC 2013 - dimstar@opensuse.org

View File

@ -76,18 +76,6 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
%package pygtkcompat
Summary: Python bindings for GObject -- PyGTK Backwards Compatibility
Group: Development/Libraries/Python
Requires: %{name} = %{version}
%description pygtkcompat
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.
This package contains a module providing backwards compatibility to
pygtk.
%package -n libpyglib-gi-2_0-python%{local_lib_ver}
Summary: Python Gobject Introspeciton binding
Group: System/Libraries
@ -130,6 +118,9 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
# Those files are python-version agnostic... so it does not matter.
rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h
rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc
# 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/
%endif
rm examples/Makefile*
%fdupes $RPM_BUILD_ROOT
@ -148,8 +139,6 @@ rm -rf $RPM_BUILD_ROOT
%{local_py_sitedir}/*.egg-info
# Lives in cairo subpackage
%exclude %{local_py_sitedir}/gi/_gi_cairo*.so
# Lives in pygtkcompat subpackage
%exclude %{local_py_sitedir}/gi/pygtkcompat.py
%files -n libpyglib-gi-2_0-python%{local_lib_ver}
%defattr(-, root, root)
@ -159,11 +148,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%{local_py_sitedir}/gi/_gi_cairo*.so
%files pygtkcompat
%defattr(-,root,root)
%{local_py_sitedir}/gi/pygtkcompat.py
%{local_py_sitedir}/pygtkcompat/
%files devel
%defattr(-,root,root)
%{_libdir}/*.so

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Sep 12 09:04:15 UTC 2013 - dimstar@opensuse.org
- Drop pygtkcompat subpackage: the compatibility layer is no longer
used and causes adverse side-effects (like pulling in Gtk2,
which is not corectly introspectable, causing all kind of other
weird issues).
-------------------------------------------------------------------
Mon Sep 2 13:34:14 UTC 2013 - dimstar@opensuse.org

View File

@ -76,18 +76,6 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
%package pygtkcompat
Summary: Python bindings for GObject -- PyGTK Backwards Compatibility
Group: Development/Libraries/Python
Requires: %{name} = %{version}
%description pygtkcompat
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.
This package contains a module providing backwards compatibility to
pygtk.
%package -n libpyglib-gi-2_0-python%{local_lib_ver}
Summary: Python Gobject Introspeciton binding
Group: System/Libraries
@ -130,6 +118,9 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
# Those files are python-version agnostic... so it does not matter.
rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h
rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc
# 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/
%endif
rm examples/Makefile*
%fdupes $RPM_BUILD_ROOT
@ -148,8 +139,6 @@ rm -rf $RPM_BUILD_ROOT
%{local_py_sitedir}/*.egg-info
# Lives in cairo subpackage
%exclude %{local_py_sitedir}/gi/_gi_cairo*.so
# Lives in pygtkcompat subpackage
%exclude %{local_py_sitedir}/gi/pygtkcompat.py
%files -n libpyglib-gi-2_0-python%{local_lib_ver}
%defattr(-, root, root)
@ -159,11 +148,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%{local_py_sitedir}/gi/_gi_cairo*.so
%files pygtkcompat
%defattr(-,root,root)
%{local_py_sitedir}/gi/pygtkcompat.py
%{local_py_sitedir}/pygtkcompat/
%files devel
%defattr(-,root,root)
%{_libdir}/*.so