Hello community, here is the log from the commit of package libgweather for openSUSE:Factory checked in at Mon May 9 09:18:34 CEST 2011. -------- --- GNOME/libgweather/libgweather.changes 2011-04-05 18:16:02.000000000 +0200 +++ /mounts/work_src_done/STABLE/libgweather/libgweather.changes 2011-05-06 22:34:24.000000000 +0200 @@ -1,0 +2,8 @@ +Fri May 6 17:00:39 UTC 2011 - nmarques@opensuse.org + +- bnc#692048: Move data files from main package to -data subpackage + -data package Provides/Obsoletes the main package for a smooth + upgrade path. +- Clean spec file using spec-cleaner. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgweather.spec ++++++ --- /var/tmp/diff_new_pack.osUoOq/_old 2011-05-09 09:16:20.000000000 +0200 +++ /var/tmp/diff_new_pack.osUoOq/_new 2011-05-09 09:16:20.000000000 +0200 @@ -19,9 +19,11 @@ Name: libgweather Version: 3.0.0 -Release: 1 +Release: 2 +# FIXME: change Obsoletes in -data subpackage from '<=' to '<' with next version (> 3.0.0) License: GPLv2+ Summary: Library to get online weather information +Url: http://developer.gnome.org/libgweather/ Group: Development/Libraries/GNOME Source: %{name}-%{version}.tar.bz2 Source99: baselibs.conf @@ -30,21 +32,34 @@ BuildRequires: gconf2-devel # For directory ownership BuildRequires: gnome-icon-theme -BuildRequires: gtk3-devel BuildRequires: gobject-introspection-devel +BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: libsoup-devel BuildRequires: libxslt BuildRequires: translation-update-upstream +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This is a library to download weather information from online sources. + +%package data +License: GPLv2+ +Summary: Library to get online weather information +Group: Development/Libraries/GNOME # For directory ownership Requires: gnome-icon-theme Requires: libgweather-3-0 = %{version} Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# NOTE: Change Obsoletes from <= to < with next version update (introduced in 3.0.0) +Provides: %{name} = %{version} +Obsoletes: %{name} <= %{version} +BuildArch: noarch %gconf_schemas_prereq -%description +%description data This is a library to download weather information from online sources. +This package provides the architecture independent files. %package devel License: GPLv2+ @@ -68,7 +83,7 @@ License: GPLv2+ Summary: Library to get online weather information Group: Development/Libraries/GNOME -Requires: %{name} >= %{version} +Requires: %{name}-data >= %{version} %description -n libgweather-3-0 This is a library to download weather information from online sources. @@ -91,10 +106,11 @@ --disable-schemas-install \ --disable-static \ --enable-introspection -%{__make} %{?jobs:-j%jobs} +%{__make} %{?_smp_mflags} %install %makeinstall +find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif @@ -106,29 +122,27 @@ echo "%lang($lang) %{_datadir}/libgweather/Locations.$lang.xml$ext" >> %{name}.lang done %find_gconf_schemas -%{__cat} %{name}.schemas_list > %{name}.lst -%{__rm} -f %{buildroot}%{_libdir}/*.la %clean %{__rm} -rf %{buildroot} -%pre -f %{name}.schemas_pre - %post -n libgweather-3-0 -p /sbin/ldconfig -%post -%icon_theme_cache_post gnome +%postun -n libgweather-3-0 -p /sbin/ldconfig + +%pre data -f %{name}.schemas_pre -%posttrans -f %{name}.schemas_posttrans +%post data +%icon_theme_cache_post gnome -%preun -f %{name}.schemas_preun +%posttrans data -f %{name}.schemas_posttrans -%postun -n libgweather-3-0 -p /sbin/ldconfig +%preun data -f %{name}.schemas_preun -%postun +%postun data %icon_theme_cache_postun gnome -%files -f %{name}.lst +%files data -f %{name}.schemas_list %defattr(-,root,root) %doc AUTHORS README NEWS ChangeLog %{_datadir}/icons/gnome/*/status/weather-*.* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org