rpmbuild: Bad Requireflags: qualifiers: Requires(posttrans)

Bill Nottingham notting at redhat.com
Mon Jan 24 18:58:19 UTC 2011


Rich Megginson (rmeggins at 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).

Bill


More information about the devel mailing list