From be922a9330c2e916a4dd280f776b3c23e1555746 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 8 Jun 2009 22:38:17 +0000 Subject: [PATCH] - edit listfile earlier Changed files: rpm-debugdir.patch -> 1.2 --- rpm-debugdir.patch | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/rpm-debugdir.patch b/rpm-debugdir.patch index c7040e6..ff534f7 100644 --- a/rpm-debugdir.patch +++ b/rpm-debugdir.patch @@ -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 -@@ -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. + # -- 2.43.0