Author: glen                         Date: Tue Jul 18 07:43:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- make files writable before striping (like chrpath does)

---- Files affected:
SOURCES:
   rpm.macros (1.309 -> 1.310) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.309 SOURCES/rpm.macros:1.310
--- SOURCES/rpm.macros:1.309    Thu Jun 29 12:23:35 2006
+++ SOURCES/rpm.macros  Tue Jul 18 09:43:25 2006
@@ -278,12 +278,15 @@
        elfarchiveslist=`echo $filelist | xargs -r file | \
                awk '/current ar archive/ {print $1}' | cut -d: -f1`; \
        if [ -n "$elfexelist" ]; then \
+               chmod u+w $elfexelist; \
                %{__strip} --remove-section=.note --remove-section=.comment 
$elfexelist; \
        fi; \
        if [ -n "$elfsharedlist" ]; then \
+               chmod u+w $elfsharedlist; \
                %{__strip} --strip-unneeded --remove-section=.note 
--remove-section=.comment $elfsharedlist; \
        fi; \
        if [ -n "$elfarchiveslist" ]; then \
+               chmod u+w $elfarchiveslist; \
                %{__strip} --strip-debug --remove-section=.note 
--remove-section=.comment $elfarchiveslist; \
        fi; \
 fi; }; __spec_install_post_strip } } }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.309&r2=1.310&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to