]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
- final solution for GConf macros
[packages/rpm.git] / 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.097361 seconds and 4 git commands to generate.