summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-21 13:40:35 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-21 13:40:35 +0000
commitacf0762eacca4f588435ec3aaa9485b91268a04c (patch)
treeae3ed27c512d3a8a23e6150c4e2394a78c2242c1 /app-arch/rpm2targz/files/rpm2targz-9.0-gentoo.patch
parentnew rpm extraction convienence eclass (diff)
downloadgentoo-2-acf0762eacca4f588435ec3aaa9485b91268a04c.tar.gz
gentoo-2-acf0762eacca4f588435ec3aaa9485b91268a04c.tar.bz2
gentoo-2-acf0762eacca4f588435ec3aaa9485b91268a04c.zip
patch to make new rpm2targz backwards compat to avoid problems.
Diffstat (limited to 'app-arch/rpm2targz/files/rpm2targz-9.0-gentoo.patch')
-rw-r--r--app-arch/rpm2targz/files/rpm2targz-9.0-gentoo.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-arch/rpm2targz/files/rpm2targz-9.0-gentoo.patch b/app-arch/rpm2targz/files/rpm2targz-9.0-gentoo.patch
new file mode 100644
index 000000000000..17d01adea573
--- /dev/null
+++ b/app-arch/rpm2targz/files/rpm2targz-9.0-gentoo.patch
@@ -0,0 +1,15 @@
+--- rpm2targz 2003-06-21 13:25:33.000000000 +0100
++++ rpm2targz 2003-06-21 14:26:30.000000000 +0100
+@@ -79,9 +79,9 @@
+ dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $ofn
+ fi
+ DEST=$TMPDIR/rpm2targz$COOKIE
+- if [ "$isSource" = "1" ]; then
+- DEST=$DEST/$(basename $(basename $i .rpm) .src)
+- fi
++ #if [ "$isSource" = "1" ]; then
++ # DEST=$DEST/$(basename $(basename $i .rpm) .src)
++ #fi
+ mkdir -p $DEST
+ ( cd $DEST
+ cpio --extract --preserve-modification-time --make-directories < $ofn 1> /dev/null 2> /dev/null