Accepting request 136557 from home:dimstar:branches:GNOME:Factory

- Add glib2_gsettings_schema_* handling to preamble, post and
  postun. Fixes bnc#782917.

OBS-URL: https://build.opensuse.org/request/show/136557
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/sushi?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2012-10-05 08:56:07 +00:00 committed by Git OBS Bridge
parent 480dec0fa2
commit 5a48d298b4
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 1 20:37:18 UTC 2012 - dimstar@opensuse.org
- Add glib2_gsettings_schema_* handling to preamble, post and
postun. Fixes bnc#782917.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 24 16:37:29 UTC 2012 - dimstar@opensuse.org Mon Sep 24 16:37:29 UTC 2012 - dimstar@opensuse.org

View File

@ -51,6 +51,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
# libsushi and the typelib were erronously installed in the system libdir... # libsushi and the typelib were erronously installed in the system libdir...
Obsoletes: libsushi-1_0-0 < %{version} Obsoletes: libsushi-1_0-0 < %{version}
Obsoletes: typelib-1_0-Sushi-1_0 < %{version} Obsoletes: typelib-1_0-Sushi-1_0 < %{version}
%glib2_gsettings_schema_requires
%description %description
Sushi is a quick previewer for Nautilus, the GNOME desktop file manager. Sushi is a quick previewer for Nautilus, the GNOME desktop file manager.
@ -68,6 +69,12 @@ make %{?_smp_mflags}
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name} %{?no_lang_C} %find_lang %{name} %{?no_lang_C}
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}