Saturday, September 03, 2011

RPM build errors: File must begin with "/": ./perl File must begin with "/": installman File must begin with "/": --destdir=

If you get these errors...
RPM build errors:
    File must begin with "/": ./perl
    File must begin with "/": installman
    File must begin with "/": --destdir=
... when running rpmbuild to make a RPM, double check your %files section of your spec file:

I found that I had the line ...

./perl installman --destdir=

... in my file list! I guess when I put the file list into my spec file's %file section I forget to remove that junk line.


No comments:

Post a Comment