]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- skip debuginfo on missing buildroot
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Feb 2008 17:07:37 +0000 (17:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-debuginfo.patch -> 1.15.6.7

rpm-debuginfo.patch

index b0f12d90dd26e34d77a0b0d30f9f255b3bb86fba..599743f3dcf552cf52d163fb79eeaa3247e5107e 100644 (file)
 +      [ -d $RPM_BUILD_ROOT$dir ] || continue
 +      echo "%exclude %dir $dir"
 +done >> $LISTFILE
+--- rpm-4.4.9.orig/scripts/find-debuginfo.sh   2008-02-11 18:51:12.304461614 +0200
++++ rpm-4.4.9/scripts/find-debuginfo.sh        2008-02-11 18:50:17.000000000 +0200
+@@ -20,6 +20,11 @@
+   objcopy --add-gnu-debuglink="$1" "$2"
+ }
++if [ ! -d $RPM_BUILD_ROOT ]; then
++      # no buildroot, exit
++      exit 0
++fi
++
+ filelist=$(find $RPM_BUILD_ROOT ! -path "$RPM_BUILD_ROOT/usr/lib/debug/*.debug" -type f '(' -perm -0100 -or -perm -0010 -or -perm -0001 ')')
+ if [ -z "$filelist" ]; then
+       # no files, exit
This page took 0.036733 seconds and 4 git commands to generate.