Hello community,

here is the log from the commit of package seed for openSUSE:Factory checked in 
at 2014-08-13 17:07:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seed (Old)
 and      /work/SRC/openSUSE:Factory/.seed.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seed"

Changes:
--------
--- /work/SRC/openSUSE:Factory/seed/seed.changes        2014-05-20 
14:27:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.seed.new/seed.changes   2014-08-13 
17:07:58.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Aug  9 19:17:41 UTC 2014 - [email protected]
+
+- Drop seed2 variant (seed for GTK+ 2.0).
+- Cleanup spec file.
+
+-------------------------------------------------------------------

Old:
----
  pre_checkin.sh
  seed2.changes
  seed2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ seed.spec ++++++
--- /var/tmp/diff_new_pack.rwTDaR/_old  2014-08-13 17:07:59.000000000 +0200
+++ /var/tmp/diff_new_pack.rwTDaR/_new  2014-08-13 17:07:59.000000000 +0200
@@ -16,18 +16,9 @@
 #
 
 
-%define build_for_gtk3 1
-
-%if %{build_for_gtk3}
 %define _webkitver 3.0
 %define _pkgsoname_suffix -gtk3-
 %define _gtk_suffix -gtk3
-%else
-%define _webkitver 1.0
-# empty:
-#%%define _pkgsoname_suffix
-#%%define _gtk_suffix
-%endif
 
 # We do not add dependencies from the language extensions: those will only be
 # used if the typelibs are used by the app and therefore already installed.
@@ -35,30 +26,24 @@
 %define __requires_exclude_from 
%{_datadir}/seed%{?_gtk_suffix}/extensions/.*.js|%{_datadir}/doc/seed/.*
 
 Name:           seed
-%define _name   seed
 Version:        3.8.1
 Release:        0
 Summary:        JavaScript bindings based on gobject-introspection and WebKit
 License:        LGPL-2.1+
 Group:          Development/Libraries/GNOME
 Url:            http://live.gnome.org/Seed
-Source:         
http://download.gnome.org/sources/seed/3.8/%{_name}-%{version}.tar.xz
+Source:         
http://download.gnome.org/sources/seed/3.8/%{name}-%{version}.tar.xz
 # PATCH-FIX-UPSTREAM 
0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch bgo#702082 
[email protected] -- don't crash when creating a script with a NULL source_url.
 Patch0:         0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch
 BuildRequires:  cairo-devel
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gnome-js-common
 BuildRequires:  gobject-introspection-devel
+BuildRequires:  gtk3-devel
 BuildRequires:  intltool
 BuildRequires:  libffi-devel
-BuildRequires:  libxml2-devel
-%if %{build_for_gtk3}
-BuildRequires:  gtk3-devel
 BuildRequires:  libwebkitgtk3-devel
-%else
-BuildRequires:  gtk2-devel
-BuildRequires:  libwebkitgtk-devel
-%endif
+BuildRequires:  libxml2-devel
 BuildRequires:  mpfr-devel
 BuildRequires:  readline-devel
 BuildRequires:  sqlite3-devel
@@ -71,8 +56,6 @@
 applications around a significant portion of the GNOME platform, and easily
 embed JavaScript as a scripting language in your GObject library.
 
-%if %{build_for_gtk3}
-
 %package doc
 Summary:        JavaScript bindings based on gobject-introspection and WebKit
 Group:          Development/Libraries/GNOME
@@ -84,16 +67,11 @@
 system. In a more concrete sense, Seed enables you to immediately write
 applications around a significant portion of the GNOME platform, and easily
 embed JavaScript as a scripting language in your GObject library.
-%endif
 
 %package -n libseed%{?_pkgsoname_suffix}0
 Summary:        JavaScript bindings based on gobject-introspection and WebKit
 Group:          System/Libraries
 Recommends:     gnome-js-common
-%if ! %{build_for_gtk3}
-Provides:       libseed-0 = %{version}
-Obsoletes:      libseed-0 < %{version}
-%endif
 
 %description -n libseed%{?_pkgsoname_suffix}0
 Seed is a library and interpreter, dynamically bridging (through
@@ -120,7 +98,7 @@
 embed JavaScript as a scripting language in your GObject library.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q
 %patch0 -p1
 
 %build
@@ -133,12 +111,6 @@
 %install
 %makeinstall
 find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
-%if ! %{build_for_gtk3}
-# remove seed binary: the GTK+ 2 and GTK+ 3 versions are conflicting
-rm %{buildroot}%{_bindir}/seed
-rm %{buildroot}%{_mandir}/man?/seed.*
-rm -r %{buildroot}%{_datadir}/doc/seed
-%endif
 
 %clean
 rm -rf %{buildroot}
@@ -147,8 +119,6 @@
 
 %postun -n libseed%{?_pkgsoname_suffix}0 -p /sbin/ldconfig
 
-%if %{build_for_gtk3}
-
 %files
 %defattr(-,root,root)
 %{_bindir}/seed
@@ -157,7 +127,6 @@
 %files doc
 %defattr(-,root,root)
 %doc %{_datadir}/doc/seed
-%endif
 
 %files -n libseed%{?_pkgsoname_suffix}0
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to