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