SOURCES: rpm.macros - unbreak macros being "one command" in shell

glen glen at pld-linux.org
Fri Mar 21 23:40:17 CET 2008


Author: glen                         Date: Fri Mar 21 22:40:17 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- unbreak macros being "one command" in shell

---- Files affected:
SOURCES:
   rpm.macros (1.443 -> 1.444) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.443 SOURCES/rpm.macros:1.444
--- SOURCES/rpm.macros:1.443	Mon Mar 17 13:14:16 2008
+++ SOURCES/rpm.macros	Fri Mar 21 23:40:11 2008
@@ -505,35 +505,35 @@
 # Update desktop MIME database
 # requires: desktop-file-utils
 #
-%update_desktop_database_post() \
+%update_desktop_database_post() {{\
 	umask 022; \
 	/usr/bin/update-desktop-database -q; \
-%{nil}
+}}%{nil}
 
-%update_desktop_database_postun() \
+%update_desktop_database_postun() {{\
 if [ "$1" = "0" ]; then \
 	umask 022; \
 	/usr/bin/update-desktop-database -q; \
 fi; \
-%{nil}
+}}%{nil}
 
 #-----------------------------------------------------------------
 # Update shared MIME info database
 # requires: shared-mime-info
 #
-%update_mime_database() \
+%update_mime_database() {{\
 	umask 022; \
 	/usr/bin/update-mime-database %{_datadir}/mime; \
-%{nil}
+}}%{nil}
 
 #-----------------------------------------------------------------
 # Update icon cache
 # requires: gtk+
 #
-%update_icon_cache() \
+%update_icon_cache() {{\
 	umask 022; \
 	/usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/%1; \
-%{nil}
+}}%{nil}
 
 #-----------------------------------------------------------------
 # Update scrollkeeper database
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.443&r2=1.444&f=u



More information about the pld-cvs-commit mailing list