From f5def21a2295321c5a43cb18b99f1b8e212c9a19208a31c1f67fa493d7c1b33b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 24 May 2013 07:43:14 +0000 Subject: [PATCH] Accepting request 176343 from home:dimstar:branches:GNOME:Factory - Move %glib2_gsettings_schema_post from %pre to %post: if we execute this prior to installation, the schema will not be registered, as the files are not yet in place. Either copy to G:S:3.8 in this form (1.0.0 is stable release of 0.x series) or at least backport the fix. OBS-URL: https://build.opensuse.org/request/show/176343 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=71 --- colord.changes | 7 +++++++ colord.spec | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/colord.changes b/colord.changes index a94858f..1283dc3 100644 --- a/colord.changes +++ b/colord.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 22 12:45:35 UTC 2013 - dimstar@opensuse.org + +- Move %glib2_gsettings_schema_post from %pre to %post: if we + execute this prior to installation, the schema will not be + registered, as the files are not yet in place. + ------------------------------------------------------------------- Mon May 13 18:14:57 UTC 2013 - dimstar@opensuse.org diff --git a/colord.spec b/colord.spec index dd83a64..6dcd73a 100644 --- a/colord.spec +++ b/colord.spec @@ -150,9 +150,11 @@ getent group colord >/dev/null || groupadd -r colord getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord # Fix ownership of /var/lib/colord from first packages (in 12.1) test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord -%glib2_gsettings_schema_post exit 0 +%post +%glib2_gsettings_schema_post + %postun %glib2_gsettings_schema_postun