]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- listfile needs always to exist
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 1 Sep 2008 21:27:34 +0000 (21:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-pydebuginfo.patch -> 1.1.2.2

rpm-pydebuginfo.patch

index 8567b64c3e5011f5d56d7227357101d245593b64..1c9eac4cb695a739ac9b36e04cf266d8b415c3a9 100644 (file)
@@ -1,6 +1,6 @@
---- rpm-4.5/scripts/find-debuginfo.sh~ 2008-08-19 10:16:33.693025509 +0300
-+++ rpm-4.5/scripts/find-debuginfo.sh  2008-08-18 22:54:31.109085807 +0300
-@@ -10,30 +10,37 @@
+--- rpm-4.5/scripts/find-debuginfo.sh  2008-08-18 22:54:31.109085807 +0300
++++ rpm-4.5/scripts/find-debuginfo.sh  2008-08-29 23:27:02.516217319 +0300
+@@ -10,30 +10,38 @@
  
  LISTFILE=$BUILDDIR/debugfiles.list
  SOURCEFILE=$BUILDDIR/debugsources.list
@@ -8,6 +8,7 @@
  
  : > $SOURCEFILE
 -: > $LISTFILE
++touch $LISTFILE
  
 -strip_to_debug()
 -{
@@ -43,9 +44,7 @@
        # no elf objects, exit
        exit 0
  fi
-@@ -72,4 +79,7 @@
- find ${RPM_BUILD_ROOT}/usr/src/debug -type d -print0 | xargs -0 chmod a+rx
+@@ -74,2 +82,5 @@
  find ${RPM_BUILD_ROOT}/usr/lib/debug -type f | sed -n -e "s#^$RPM_BUILD_ROOT##p" > $LISTFILE
 +if [ -f $DEBUGFILES ]; then
 +      sed -e "s#^$RPM_BUILD_ROOT##" $DEBUGFILES >> $LISTFILE
This page took 0.03764 seconds and 4 git commands to generate.