PDA

View Full Version : Srpms?


cma
April 15th, 2006, 06:52 PM
I have tried building the SRPMS on both FC3 and FC5, but each time I get the following:

$ rpmbuild -bp amanda.spec
sh: error:: command not found
error: line 35: Unknown tag: exit 1

I have tried commenting out that section, but it still does not work.

Also, is there any way to get the spec file to respect the --root option for rpm? It keeps looking in /usr/src/redhat/.

Thanks!

paddy
April 16th, 2006, 05:43 PM
rpm build requires an argument. Define build_fedora3 1 for Fedora3 builds.

rpmbuild --define "build_fedora3 1" ...

Fedora 5 builds are not supported. You can define fedora5 as fedora4 in
the amanda.spec and try.

Paddy