Bug 11547
| Summary: | rpm --help or man page doesn't mention '--define' | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Pekka Savola <pekkas> |
| Component: | rpm | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | teg |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-05-22 14:03:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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? |
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?