On 01/24/2011 11:58 AM, Bill Nottingham wrote:
Rich Megginson (rmeggins(a)redhat.com) said:
>>> error: line 78: Bad Requireflags: qualifiers: Requires(posttrans):
/sbin/service
>>>
>>> Is Requires(posttrans) deprecated with the newest RPM or is that a bug?
>> AFAIK, it never existed. So it's always been a syntax error, just one
>> that was tolerated before.
> But it used to work . . .
The concept of %posttrans used to work, and still works. 'posttrans' has
never been a valid Requires hint, thought - the syntax Requires(posttrans)
*never* worked as you might think it did; it was silently accepted and
translated to just Requires:, much the same as if your specfile had inclued
Require(whenever-i-feel-like-it).
Ok. Do I need any Requires at all for this? Or
should I just remove
that line from the spec?
Bill