Drop %__find_prereq support
It has never been used anyway, and now it stands in the way of replacing deprecated PreReq with Requires(pre,postun).
This commit is contained in:
parent
e05c6cf019
commit
efc8d3637c
@ -2446,11 +2446,8 @@ DepMsg_t depMsgs[] = {
|
||||
{ "Provides", { "%{?__find_provides}", 0 },
|
||||
RPMTAG_PROVIDENAME, RPMTAG_PROVIDEVERSION, RPMTAG_PROVIDEFLAGS,
|
||||
0, -1 },
|
||||
{ "PreReq", { "%{?__find_prereq}", 0 },
|
||||
RPMTAG_REQUIRENAME, RPMTAG_REQUIREVERSION, RPMTAG_REQUIREFLAGS,
|
||||
RPMSENSE_PREREQ, 0 },
|
||||
{ "Requires", { "%{?__find_requires}", 0 },
|
||||
-1, -1, RPMTAG_REQUIREFLAGS, /* XXX inherit name/version arrays */
|
||||
RPMTAG_REQUIRENAME, RPMTAG_REQUIREVERSION, RPMTAG_REQUIREFLAGS,
|
||||
RPMSENSE_PREREQ, RPMSENSE_PREREQ },
|
||||
{ "Requires(interp)", { 0, "interp", 0 },
|
||||
-1, -1, RPMTAG_REQUIREFLAGS,
|
||||
|
@ -179,7 +179,7 @@ defined in the spec file. To allow for maximum configurability the
|
||||
dependency programs are shell scripts which can be duplicated and edited
|
||||
for site specific needs.
|
||||
|
||||
The macros: %__find_provides, %__find_prereq, %__find_requires,
|
||||
The macros: %__find_provides, %__find_requires,
|
||||
%__find_conflicts, %__find_obsoletes, if they exist, are expanded to
|
||||
the name of a program to exec. For each package, the program receives
|
||||
the glob'ed %files manifest on stdin and returns dependencies on stdout. The
|
||||
|
Loading…
x
Reference in New Issue
Block a user