Hi,
I just started to build my first RPM ever using the Mandrake generic.spec
from ftp.mandrakesoft.com/pub/bero/generic.spec.
It fails with the following output:
[...]
Roxen installed.
+ '[' -d /var/tmp/roxen-buildroot/usr/man ']'
+ '[' -d /var/tmp/roxen-buildroot/usr/info ']'
+ '[' -d /var/tmp/roxen-buildroot/usr/X11R6/man ']'
+ '[' -d /var/tmp/roxen-buildroot/usr/lib/perl5/man ']'
+ cd /var/tmp/roxen-buildroot
+ find . -type d
+ sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,'
+ find . -type f
+ sed 's,^\.,\%attr(-\,root\,root) ,' -e '/\/etc\//s|^|%config|' -e
+'/\/config\//s|^|%config|'
sed: can't read s,^\.,\%attr(-\,root\,root) ,: No such file or directory
/var/tmp/rpm-tmp.38889: line 44: 27794 Broken pipe find . -type f
27795 Done(2) | sed 's,^\.,\%attr(-\,root\,root) ,' -e
'/\/etc\//s|^|%config|' -e '/\/config\//s|^|%config|' >>$RPM_BUILD_DIR/file.list.roxen
Bad exit status from /var/tmp/rpm-tmp.38889 (%install)
This seems to be those three find-commands that shall build a filelist - but
I did not understand them full. Are there any missing specifications at the
first part which may result in empty %attr, %config or %dir?
And an other questions: how can I include comments within the .spec-file?
Thanks for any help, Oliver
--
"Mir geht dieses scheinheilige, Naechstenhiebe austeilende Bodenpersonal
Gottes auf die Nerven" [Julia Krueger, Leserbrief an den SPIEGEL 35/95]
[<A HREF="http://www.ls-la.net/">My Homepage</A>]