New kerberos detection in pine spec file doesn't seem to work for me. Granted, my RPM is from RH62, but I saw no notion of this in rpm-3.1. I have *no* kerberos packages, and 'rpm -ba pine.spec' just blurts out it wants krb5-devel. Spec file line: %{!?nokerberos:BuildPrereq: krb5-devel} looked a bit peculiar, considering nokerberos check hasn't been defined anywhere in the spec file. Or is there something I'm missing here?
Use "--define nokerberos=1" as a flag to rpm when rebuilding the spec file
rpm manpage or 'rpm --help' doesn't mention --define parameter at all.
You can find some information on it in /usr/doc/rpm-3.0.4
Here's what rpm-4.0 rpm --help sez': ... All modes support the following arguments: --define '<name> <body>' - define macro <name> with value <body> --eval '<name>+' - print the expansion of macro <name> to stdout ...
Hmm, am I mistaken, or should that be --define '<name>=<body>' ? (as in --define 'nokerberos=1'). RPM 4.0 tarball man page didn't contain this (yet). May I suggest that a short example like that nokerberos will be added there so that the actual use will be comprehensible?