On Mon, Jul 13, 2009 at 1:44 AM, Michael Lasevich<misdirec...@lasevich.net> wrote: > Ok, my root has these files and directories (all empty): > > -rw-r--r-- 1 root root 0 Jul 12 19:18 File With Spaces > drwxr-xr-x 2 root root 4096 Jul 12 19:12 dir With Spaces > drwxr-xr-x 2 root root 4096 Jul 12 19:12 dirWithoutSpaces > -rw-r--r-- 1 root root 0 Jul 12 19:18 fileWithoutSpaces > > Genrated spec file is: > ======================= > Name: vj_space_tester > Version: 1.2 > Release: 090712_1925 > License: None > Group: None > BuildRoot: /data/yum/factory/space_tester/root > AutoReqProv: no > Summary: No Summary > BuildArch: noarch > Requires: vj_base > > # Finished header > > %description > > space_tester > # Description done > #%prep > #%build > #%install > #%post > %files > %defattr (755,root,root) > %dir ""
Sorry for the delay. But the problem is this (a typo perhaps) statement -----> %dir "" <------------------ Dropped this and with or without quoting in /dirWithoutSpaces rpmbuild work as expected in rpm 4.4.2-9.el5 Perhaps you wanted really create a directory with a blank inside? So do you have to write "%dir "/ ". And it works also regards ______________________________________________________________________ RPM Package Manager http://rpm5.org User Communication List rpm-users@rpm5.org