]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- edit listfile earlier
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 8 Jun 2009 22:38:17 +0000 (22:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-debugdir.patch -> 1.2

rpm-debugdir.patch

index c7040e6ad266c3e97ad4a5b7fa1afb0e5956d0ca..ff534f7e47644152ed591fb34b5733e112234beb 100644 (file)
@@ -1,10 +1,12 @@
 --- rpm-4.5/scripts/find-debuginfo.sh~ 2009-06-08 23:57:15.000000000 +0300
 +++ rpm-4.5/scripts/find-debuginfo.sh  2009-06-09 00:10:21.603343056 +0300
 --- rpm-4.5/scripts/find-debuginfo.sh~ 2009-06-08 23:57:15.000000000 +0300
 +++ rpm-4.5/scripts/find-debuginfo.sh  2009-06-09 00:10:21.603343056 +0300
-@@ -333,4 +333,7 @@
-   sed -n -f "${LISTFILE}.dirs.sed" "${LISTFILE}" | sort -u > "${LISTFILE}.new"
-   cat "$LISTFILE" >> "${LISTFILE}.new"
-   mv "${LISTFILE}.new" "$LISTFILE"
+@@ -306,6 +306,9 @@
+   sed -n -r "\#^$ptn #s/ .*\$//p" "$LINKSFILE" | append_uniq "$out"
+ }
++# get rid of top level dir, we want it be only in filesystem-debuginfo package
++sed -i -e '/^%dir \/usr\/lib\/debug$/d' "$LISTFILE"
 +
 +
-+  # get rid of top level dir, we want it be only in filesystem-debuginfo package
-+  sed -i -e '/^%dir \/usr\/lib\/debug$/d' "$LISTFILE"
- fi
+ #
+ # When given multiple -o switches, split up the output as directed.
+ #
This page took 0.031885 seconds and 4 git commands to generate.