1
0

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

Fix scriptlets...

OBS-URL: https://build.opensuse.org/request/show/161700
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2013-03-29 20:59:06 +00:00 committed by Git OBS Bridge
parent 9133bd2bd0
commit 5a6eee9520
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Mar 27 19:08:16 UTC 2013 - dimstar@opensuse.org
- Fix scriptlets: move the glib2_gsettings_schema_post/postun to
the sub-package gnome-shell-extension-alternative-status-menu:
the .gschema.xml lives in this subpackage as well (bnc#811203).
- Add glib2_gsettings_schema_post/postun scriptlets for
gnome-shell-classic subpackage.
-------------------------------------------------------------------
Tue Mar 26 10:35:49 UTC 2013 - dimstar@opensuse.org

View File

@ -73,6 +73,7 @@ Requires: %{name}-common
# This used to be the name of the extension in 3.2
Provides: gnome-shell-extension-alt-status-menu = %{version}
Obsoletes: gnome-shell-extension-alt-status-menu < %{version}
%glib2_gsettings_schema_requires
%description -n gnome-shell-extension-alternative-status-menu
This GNOME Shell extension adds a power off item in the status
@ -107,10 +108,16 @@ make %{?_smp_mflags}
cp %{S:2} %{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.override
%find_lang %{name} %{?no_lang_C}
%post
%post -n gnome-shell-extension-alternative-status-menu
%glib2_gsettings_schema_post
%postun
%postun -n gnome-shell-extension-alternative-status-menu
%glib2_gsettings_schema_postun
%post -n gnome-shell-classic
%glib2_gsettings_schema_post
%postun -n gnome-shell-classic
%glib2_gsettings_schema_postun
%files common