Hello community, here is the log from the commit of package unity-gtk-module for openSUSE:Factory checked in at 2018-03-19 23:39:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unity-gtk-module (Old) and /work/SRC/openSUSE:Factory/.unity-gtk-module.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unity-gtk-module" Mon Mar 19 23:39:29 2018 rev:4 rq:588518 version:0.0.0+bzr20171202 Changes: -------- --- /work/SRC/openSUSE:Factory/unity-gtk-module/unity-gtk-module.changes 2017-11-30 12:44:33.259744601 +0100 +++ /work/SRC/openSUSE:Factory/.unity-gtk-module.new/unity-gtk-module.changes 2018-03-19 23:40:11.073443626 +0100 @@ -1,0 +2,8 @@ +Mon Mar 12 12:43:56 UTC 2018 - [email protected] + +- Update to version 0.0.0+bzr20171202: + * Don't depend on GTK+ 2 to allow these GTK+ 2 modules to be + pre-installed without requiring GTK+ 2 to be installed too. +- Explicitly build with Python2. + +------------------------------------------------------------------- Old: ---- unity-gtk-module_0.0.0+17.10.20170817.orig.tar.gz New: ---- unity-gtk-module_0.0.0+18.04.20171202.orig.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unity-gtk-module.spec ++++++ --- /var/tmp/diff_new_pack.XLD5Lm/_old 2018-03-19 23:40:12.169404090 +0100 +++ /var/tmp/diff_new_pack.XLD5Lm/_new 2018-03-19 23:40:12.185403513 +0100 @@ -1,7 +1,7 @@ # # spec file for package unity-gtk-module # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,18 +20,18 @@ %define _name_gtk3 unity-gtk3-module %define lname_gtk2 libunity-gtk2-parser0 %define lname_gtk3 libunity-gtk3-parser0 -%define _version 0.0.0+17.10.20170817 +%define _version 0.0.0+18.04.20171202 Name: unity-gtk-module -Version: 0.0.0+bzr20170817 +Version: 0.0.0+bzr20171202 Release: 0 Summary: GTK+ module for exporting old-style menus as GMenuModels -License: LGPL-3.0+ +License: LGPL-3.0-or-later Group: System/GUI/Other Url: https://launchpad.net/unity-gtk-module Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz Source1: baselibs.conf -# PATCH-FIX-OPENSUSE unity-gtk-module-gsettings.patch [email protected] -- Use GSettings key instead of patched Gtk2. -Patch0: %{name}-gsettings.patch +# PATCH-FIX-OPENSUSE unity-gtk-module-gsettings.patch [email protected] -- Use a GSettings key instead of patched Gtk2. +Patch0: unity-gtk-module-gsettings.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -39,6 +39,7 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python +BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(x11) @@ -151,6 +152,7 @@ %build NOCONFIGURE=1 ./autogen.sh %global _configure ../configure +export PYTHON=python2 for ver in 2 3; do mkdir build-gtk$ver pushd build-gtk$ver @@ -172,37 +174,39 @@ install -Dpm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh rm -rf %{buildroot}%{python_sitelib}/unity_gtk_module/ \ %{buildroot}%{_datadir}/upstart/ -%if 0%{?suse_version} <= 1320 && 0%{?sle_version} < 120200 +%if 0%{?suse_version} < 1500 && 0%{?sle_version} < 120200 rm %{buildroot}%{_libexecdir}/systemd/user/unity-gtk-module.service %endif find %{buildroot} -type f -name "*.la" -delete -print +%post -n %{lname_gtk2} -p /sbin/ldconfig + +%postun -n %{lname_gtk2} -p /sbin/ldconfig + +%post -n %{lname_gtk3} -p /sbin/ldconfig + +%postun -n %{lname_gtk3} -p /sbin/ldconfig + %post common -%if 0%{?suse_version} <= 1320 +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120200 +%systemd_user_post %{name}.service +%endif +%if 0%{?suse_version} < 1500 %glib2_gsettings_schema_post %endif -%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 -%systemd_user_post %{name}.service +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120200 %preun common %systemd_user_preun %{name}.service %endif %postun common -%if 0%{?suse_version} <= 1320 -%glib2_gsettings_schema_postun -%endif -%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120200 %systemd_user_postun %{name}.service %endif - -%post -n %{lname_gtk2} -p /sbin/ldconfig - -%postun -n %{lname_gtk2} -p /sbin/ldconfig - -%post -n %{lname_gtk3} -p /sbin/ldconfig - -%postun -n %{lname_gtk3} -p /sbin/ldconfig +%if 0%{?suse_version} < 1500 +%glib2_gsettings_schema_postun +%endif %files -n %{_name_gtk2} %{_libdir}/gtk-2.0/modules/lib%{name}.so @@ -211,7 +215,12 @@ %{_libdir}/gtk-3.0/modules/lib%{name}.so %files common -%doc AUTHORS COPYING TODO +%if 0%{?suse_version} >= 1500 +%license COPYING +%else +%doc COPYING +%endif +%doc AUTHORS TODO %config %{_sysconfdir}/profile.d/%{name}.* %{_datadir}/glib-2.0/schemas/*%{name}.gschema.xml %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 @@ -219,11 +228,21 @@ %endif %files -n %{lname_gtk2} -%doc AUTHORS COPYING TODO +%if 0%{?suse_version} >= 1500 +%license COPYING +%else +%doc COPYING +%endif +%doc AUTHORS TODO %{_libdir}/libunity-gtk2-parser.so.* %files -n %{lname_gtk3} -%doc AUTHORS COPYING TODO +%if 0%{?suse_version} >= 1500 +%license COPYING +%else +%doc COPYING +%endif +%doc AUTHORS TODO %{_libdir}/libunity-gtk3-parser.so.* %files -n libunity-gtk-parser-devel ++++++ unity-gtk-module_0.0.0+17.10.20170817.orig.tar.gz -> unity-gtk-module_0.0.0+18.04.20171202.orig.tar.gz ++++++
