]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- added %glib_compile_schemas
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sun, 14 Nov 2010 13:02:41 +0000 (13:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.592

rpm.macros

index 366840b818d4d9179b83805b9390762935d075a2..7b20b830a5960ea5bf62fc0a3dfa26a639684de6 100644 (file)
@@ -766,6 +766,16 @@ if [ "$1" = "0" ]; then \
 fi; \
 %{nil}
 
+#-----------------------------------------------------------------
+# Compile GSettings schemas
+# requires: glib2 >= 1:2.26.0
+#
+%glib_compile_schemas() {{ \
+       umask 022; \
+       /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas; \
+};} \
+%{nil}
+
 #-----------------------------------------------------------------
 # post %install sequence:
 # - autodeps exceptions
This page took 0.030184 seconds and 4 git commands to generate.