Hello community, here is the log from the commit of package gnome-python-desktop for openSUSE:Factory checked in at 2012-02-28 19:23:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-python-desktop (Old) and /work/SRC/openSUSE:Factory/.gnome-python-desktop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-python-desktop", Maintainer is "gnome-maintainers@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-python-desktop/gnome-python-desktop.changes 2011-09-23 02:01:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-python-desktop.new/gnome-python-desktop.changes 2012-02-28 19:23:09.000000000 +0100 @@ -1,0 +2,17 @@ +Thu Feb 23 10:02:14 UTC 2012 - vuntz@opensuse.org + +- Stop building python-metacity: + + The bindings are not compatible with current metacity. + + Add build_metacity macro to change this behavior, set to 0. + + Do not use pkgconfig(libmetacity-private) BuildRequires if we + don't build python-metacity. + + Add Obsoletes for python-metacity to main subpackage, instead + of a Requires, for smooth upgrades. + + Only pass --enable-metacity to configure if we build + python-metacity. +- Stop passing --libexecdir=%{_libexecdir}/%{name} to configure: we + never use libexecdir. +- Remove applet, brasero, mediaprofiles code examples if we don't + build those bindings. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-python-desktop.spec ++++++ --- /var/tmp/diff_new_pack.5peQKQ/_old 2012-02-28 19:23:11.000000000 +0100 +++ /var/tmp/diff_new_pack.5peQKQ/_new 2012-02-28 19:23:11.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-python-desktop # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -%define build_evince 0 %define build_applet 0 %define build_brasero 0 +%define build_evince 0 %define build_mediaprofiles 0 +%define build_metacity 0 Name: gnome-python-desktop Version: 2.32.0 -Release: 9 +Release: 0 Url: http://www.realistanew.com/projects/gnome-python-desktop -Group: System/GUI/GNOME -License: LGPL-2.1+ Summary: Python bindings for GNOME +License: LGPL-2.1+ +Group: System/GUI/GNOME Source: %{name}-%{version}.tar.bz2 Source1: README.openSUSE BuildRequires: bug-buddy @@ -58,7 +58,9 @@ BuildRequires: pkgconfig(libgnomeprintui-2.2) BuildRequires: pkgconfig(libgnomeui-2.0) BuildRequires: pkgconfig(libgtop-2.0) +%if %{build_metacity} BuildRequires: pkgconfig(libmetacity-private) +%endif %if %{build_applet} BuildRequires: pkgconfig(libpanelapplet-2.0) %endif @@ -97,7 +99,11 @@ %else Obsoletes: python-mediaprofiles <= %{version} %endif +%if %{build_metacity} Requires: python-metacity +%else +Obsoletes: python-metacity <= %{version} +%endif Requires: python-rsvg Requires: python-totem Requires: python-wnck @@ -107,11 +113,9 @@ This package provides additional python bindings for GNOME libraries. %if %{build_brasero} - %package -n python-brasero -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for Brasero +Group: Development/Libraries/Python Requires: python-gtk %py_requires @@ -120,9 +124,8 @@ %endif %package -n python-bugbuddy -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for Bug-Buddy +Group: Development/Libraries/Python Recommends: bug-buddy %py_requires @@ -130,11 +133,9 @@ This package contains Python bindings for Bug-Buddy. %if %{build_evince} - %package -n python-evince -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for Evince +Group: Development/Libraries/Python Requires: python-gtk %py_requires @@ -143,9 +144,8 @@ %endif %package -n python-evolution -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for Evolution +Group: Development/Libraries/Python Requires: python-bonobo Requires: python-gobject2 Provides: evolution-python = 0.4 @@ -156,11 +156,9 @@ This package contains Python bindings for Evolution. %if %{build_applet} - %package -n python-gnomeapplet -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for the GNOME Panel Applet Library +Group: Development/Libraries/Python Requires: python-bonobo Requires: python-gtk %py_requires @@ -170,9 +168,8 @@ %endif %package -n python-gnomedesktop -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for libgnome-desktop +Group: Development/Libraries/Python Requires: python-gnomevfs Requires: python-gtk %py_requires @@ -181,18 +178,16 @@ This package contains Python bindings for libgnome-desktop. %package -n python-gnomekeyring -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for GNOME Keyring +Group: Development/Libraries/Python %py_requires %description -n python-gnomekeyring This package contains Python bindings for GNOME Keyring. %package -n python-gnomeprint -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for libgnomeprint +Group: Development/Libraries/Python Requires: python-gnomecanvas Requires: python-gtk %py_requires @@ -201,20 +196,17 @@ This package contains Python bindings for libgnomeprint. %package -n python-gtop -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for libgtop +Group: Development/Libraries/Python %py_requires %description -n python-gtop This package contains Python bindings for libgtop. %if %{build_mediaprofiles} - %package -n python-mediaprofiles -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for media profiles +Group: Development/Libraries/Python Requires: python-gconf Requires: python-gtk %py_requires @@ -223,20 +215,20 @@ This package contains Python bindings for media profiles. %endif +%if %{build_metacity} %package -n python-metacity -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for Metacity +Group: Development/Libraries/Python Requires: python-gtk %py_requires %description -n python-metacity This package contains Python bindings for Metacity. +%endif %package -n python-rsvg -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for librsvg +Group: Development/Libraries/Python Requires: python-gobject2 %py_requires @@ -244,9 +236,8 @@ This package contains Python bindings for librsvg. %package -n python-totem -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for Totem +Group: Development/Libraries/Python Requires: python-gnomevfs Requires: python-gobject2 %py_requires @@ -255,9 +246,8 @@ This package contains Python bindings for Totem. %package -n python-wnck -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for libwnck +Group: Development/Libraries/Python Requires: python-gtk %py_requires @@ -265,9 +255,8 @@ This package contains Python bindings for libwnck. %package devel -License: LGPL-2.1+ -Group: Development/Libraries/Python Summary: Python bindings for GNOME +Group: Development/Libraries/Python # This will bring in all subpackages Requires: %{name} = %{version} Provides: %{name}-doc = %{version} @@ -283,8 +272,10 @@ %build %configure \ --disable-static \ - --libexecdir=%{_libexecdir}/%{name} \ - --enable-metacity +%if %{build_metacity} + --enable-metacity \ +%endif + %{nil} make %{?jobs:-j%jobs} %install @@ -292,6 +283,16 @@ find %{buildroot} -type f -name "*.la" -delete -print # Remove examples for bindings we don't ship rm -r examples/{gtksourceview,nautilusburn} +%if !%{build_applet} +rm -r examples/applet/ +%endif +%if !%{build_brasero} +rm -r examples/braseroburn/ +rm -r examples/braseromedia/ +%endif +%if !%{build_mediaprofiles} +rm -r examples/mediaprofiles/ +%endif %fdupes %{buildroot} %clean @@ -306,7 +307,6 @@ #%{py_sitedir}/gtk-2.0/gtksourceview.so %if %{build_brasero} - %files -n python-brasero %defattr (-, root, root) %doc COPYING @@ -320,7 +320,6 @@ %{py_sitedir}/gtk-2.0/bugbuddy.py* %if %{build_evince} - %files -n python-evince %defattr (-, root, root) %doc COPYING @@ -336,7 +335,6 @@ %{py_sitedir}/gtk-2.0/evolution/ecal.so %if %{build_applet} - %files -n python-gnomeapplet %defattr (-, root, root) %doc COPYING @@ -371,17 +369,18 @@ %{py_sitedir}/gtk-2.0/gtop.so %if %{build_mediaprofiles} - %files -n python-mediaprofiles %defattr (-, root, root) %doc COPYING %{py_sitedir}/gtk-2.0/mediaprofiles.so %endif +%if %{build_metacity} %files -n python-metacity %defattr (-, root, root) %doc COPYING %{py_sitedir}/gtk-2.0/metacity.so +%endif %files -n python-rsvg %defattr (-, root, root) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org