Hello community, here is the log from the commit of package gtksourceview2 for openSUSE:Factory checked in at 2015-10-06 16:11:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtksourceview2 (Old) and /work/SRC/openSUSE:Factory/.gtksourceview2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtksourceview2" Changes: -------- --- /work/SRC/openSUSE:Factory/gtksourceview2/gtksourceview2.changes 2012-05-21 07:25:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gtksourceview2.new/gtksourceview2.changes 2015-10-06 16:11:07.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jun 29 13:44:50 UTC 2015 - [email protected] + +- Make glade catalog optional (based on bcond_without) because + SLE12 misses the devel package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtksourceview2.spec ++++++ --- /var/tmp/diff_new_pack.wjEfgS/_old 2015-10-06 16:11:09.000000000 +0200 +++ /var/tmp/diff_new_pack.wjEfgS/_new 2015-10-06 16:11:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gtksourceview2 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -18,6 +18,7 @@ Name: gtksourceview2 %define _name gtksourceview +%bcond_without gladeui Version: 2.10.5 Release: 0 Summary: GTK+ Source Editing Widget @@ -30,7 +31,9 @@ BuildRequires: fdupes BuildRequires: gtk2-devel BuildRequires: intltool +%if %{with gladeui} BuildRequires: libgladeui-1_0-devel +%endif BuildRequires: libxml2-devel BuildRequires: translation-update-upstream BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -96,9 +99,13 @@ translation-update-upstream %build -%configure --disable-static --with-pic\ +%configure \ +%if %{with gladeui} + --enable-glade-catalog \ +%endif --disable-gtk-doc \ - --enable-glade-catalog + --with-pic \ + --disable-static make %{?jobs:-j%jobs} V=1 %install @@ -123,9 +130,11 @@ %{_libdir}/libgtksourceview-2.0.so.* %{_datadir}/gtksourceview-2.0/ +%if %{with gladeui} %files -n glade3-catalog-gtksourceview %defattr(-, root, root) %{_datadir}/glade3/catalogs/gtksourceview-glade.xml +%endif %files devel %defattr(-, root, root)
