FM wrote:
Hello,
I download the SRPM from zmanda site.
But when I am trying the rpmbuild -bb SPECS/amanda.spec
error: parse error in expression
error: /home/users/lexum/mederyf/rpmbuild/SPECS/amanda.spec:77:
parseExpressionBoolean returns -1
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
any idea ? :)
Regards
This happens when the conditional clauses in the spec file don't return
an expected result. Spec syntax does not allow for error handling, so
we get weird stuff like this. What Os/Distribution/Version are you
trying to compile for? My guess is that you're compiling for a new
version of Fedora. I haven't added the code to detect F9 yet, but I can
send you a patch. Keep in mind that you will be testing this patch for
me :-) (Don't worry, it would only affect the rpm stuff, not any of the
Amanda code, so it's safe)
Dan