SOURCES (rpm-4_5): rpm-pydebuginfo.patch - listfile needs always to exist
glen
glen at pld-linux.org
Mon Sep 1 23:27:40 CEST 2008
Author: glen Date: Mon Sep 1 21:27:40 2008 GMT
Module: SOURCES Tag: rpm-4_5
---- Log message:
- listfile needs always to exist
---- Files affected:
SOURCES:
rpm-pydebuginfo.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SOURCES/rpm-pydebuginfo.patch
diff -u SOURCES/rpm-pydebuginfo.patch:1.1.2.1 SOURCES/rpm-pydebuginfo.patch:1.1.2.2
--- SOURCES/rpm-pydebuginfo.patch:1.1.2.1 Thu Aug 21 23:02:27 2008
+++ SOURCES/rpm-pydebuginfo.patch Mon Sep 1 23:27:34 2008
@@ -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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-pydebuginfo.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list