[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Requires(...) vs. PreReq



Hello,

on the question whether to use Requires(post,...) or PreReq, in
https://bugzilla.fedora.us/show_bug.cgi?id=332#c40 it is said that
Jeff Johnson said

|   [...] and this is premature, you instally have syntax issues with
|   older versions of rpm, as well as polluting rpm's context markers.
|   The Right Thing To Do is to automagically generate scriptlet
|   dependencies, [...]

I know neither the context nor the age of this quote. Because the recent
rpm documentation (the tsort-document) mentions the Requires(...) syntax,
I am asking if

| Requires(post,preun): /sbin/chkconfig

or

| PreReq: /sbin/chkconfig

should be used with rpm>=4?



Enrico




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []