]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- make files writable before striping (like chrpath does) auto/ac/rpm-build-macros-1_310-1
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 18 Jul 2006 07:43:25 +0000 (07:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.310

rpm.macros

index 6163a69f97b4990c5d321cc44480d061b82da14e..6f4300859395281b5871e3367c6198d4a604ba22 100644 (file)
@@ -278,12 +278,15 @@ unset LINGUAS ||:\
        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 } } }
This page took 0.04035 seconds and 4 git commands to generate.