]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- final solution for GConf macros
authoraflinta <aflinta@pld-linux.org>
Fri, 25 Mar 2005 00:03:43 +0000 (00:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.195

rpm.macros

index b249e289768c45eaa7f087fe2db2405a0d357fc1..a0a83181a109a3c0d3025b8344db918a70331f42 100644 (file)
@@ -365,9 +365,17 @@ echo "Compress kernel modules if any."; \
 #
 # Requires: GConf2
 #
-%gconf_schema_install /usr/lib/rpm/gconf-schema-install
-
-%gconf_schema_uninstall /usr/lib/rpm/gconf-schema-uninstall
+%gconf_schema_install() \
+    umask 022; \
+    GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" \
+    /usr/bin/gconftool-2 --makefile-install-rule %{?1}%{!?1:/etc/gconf/schemas/*.schemas} > /dev/null \
+    %{nil}
+
+%gconf_schema_uninstall() \
+    umask 022; \
+    GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" \
+    /usr/bin/gconftool-2 --makefile-uninstall-rule %{?1} > /dev/null \
+    %{nil}
 
 #-----------------------------------------------------------------
 # post %install sequence:
This page took 0.033098 seconds and 4 git commands to generate.