diff options
author | Francois Pons <fpons@mandriva.com> | 2002-04-15 13:25:20 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-04-15 13:25:20 +0000 |
commit | c308502834119ac1acd09c37642a5291479d9684 (patch) | |
tree | b5f869b9e1d9f6b5436c54833fed1b66d113b147 | |
parent | 552c8db48d48fd34cb59770d3f689bf4f1aefc22 (diff) | |
download | rpmtools-c308502834119ac1acd09c37642a5291479d9684.tar rpmtools-c308502834119ac1acd09c37642a5291479d9684.tar.gz rpmtools-c308502834119ac1acd09c37642a5291479d9684.tar.bz2 rpmtools-c308502834119ac1acd09c37642a5291479d9684.tar.xz rpmtools-c308502834119ac1acd09c37642a5291479d9684.zip |
fixed with NIS and packdrake --extract.
-rw-r--r-- | packdrake.pm | 4 | ||||
-rw-r--r-- | rpmtools.spec | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/packdrake.pm b/packdrake.pm index de22f9b..d4c26e0 100644 --- a/packdrake.pm +++ b/packdrake.pm @@ -373,8 +373,8 @@ sub extract_archive { $packer->{log}->("extracting $file"); for ($packer->{data}{$file}[0]) { /l/ && do { symlink_ $packer->{data}{$file}[1], $newfile; last; }; - /d/ && do { mkdir_ $newfile; last; }; - /f/ && do { mkdir_ dirname $newfile; + /d/ && do { $dir and mkdir_ $newfile; last; }; + /f/ && do { $dir and mkdir_ dirname $newfile; my $data = $packer->{data}{$file}; $extract_table{$data->[1]} ||= [ $data->[2], [] ]; push @{$extract_table{$data->[1]}[1]}, [ $newfile, $data->[3], $data->[4] ]; diff --git a/rpmtools.spec b/rpmtools.spec index 281db2c..216f004 100644 --- a/rpmtools.spec +++ b/rpmtools.spec @@ -1,5 +1,5 @@ %define name rpmtools -%define release 10mdk +%define release 11mdk # do not modify here, see Makefile in the CVS %define version 4.2 @@ -53,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/perl5/man/*/* %changelog +* Mon Apr 15 2002 François Pons <fpons@mandrakesoft.com> 4.2-11mdk +- fixed lock using packdrake --extract when current working + directory is on NIS and inaccessible (for root). + * Wed Apr 10 2002 François Pons <fpons@mandrakesoft.com> 4.2-10mdk - make .pm file compatible with perl 5.005 and above (instead of perl 5.6.0 and above). |