* Corrected a problem triggered by wordperfect's deb: rpm can't deal with

files that have spaces, unless they are quoted. Thus, quote all filenames.
   * Handles empty directories now when converting to rpm.
This commit is contained in:
joey
2000-01-21 00:37:55 +00:00
parent 96387221f0
commit ddc4040def
2 changed files with 15 additions and 1 deletions

8
debian/changelog vendored
View File

@@ -1,3 +1,11 @@
alien (6.56) unstable; urgency=low
* Corrected a problem triggered by wordperfect's deb: rpm can't deal with
files that have spaces, unless they are quoted. Thus, quote all filenames.
* Handles empty directories now when converting to rpm.
-- Joey Hess <joeyh@debian.org> Thu, 20 Jan 2000 16:25:27 -0800
alien (6.55) unstable; urgency=low alien (6.55) unstable; urgency=low
* Patch from Jan Nieuwenhuizen to fix control file extraction on * Patch from Jan Nieuwenhuizen to fix control file extraction on

View File

@@ -54,9 +54,15 @@ sub Convert { my ($self,$workdir,$nopatch,%fields)=@_;
$filelist.="%config $fn\n"; $filelist.="%config $fn\n";
} }
else { # normal file else { # normal file
$filelist.="$fn\n"; # Filename must be quoted so rpm can handle
# spaces.
$filelist.="\"$fn\"\n";
} }
} }
else {
# Add directories too.
$filelist.="%dir \"$fn\"\n";
}
} }
$fields{FILELIST}=$filelist; $fields{FILELIST}=$filelist;