Michael Schr�der changed bug 905558
What Removed Added
Flags needinfo?(mls@suse.com)  

Comment # 9 on bug 905558 from
Of course you can add them manually.

Modern rpm versions also support dependency filtering, so the most correct way
is to turn on the dependency generator again and add some filter statements.

To quote from my mail to opensuse-packaging from 2011:

With rpm-4.9.0, the internal generator has become flexible enough so that we
can use it.

This means for you, that rpm will no longer use the %__find_provides and
%__find_requires macros. Some packages redefined those macros to be able to
filter the generated dependencies.
This will no longer work in rpm-4.9.0. Instead, support for dependency
filtering was added to rpm. You can now use

    %define %__requires_exclude_from ^/foo.*bar

to tell rpm to ignore files matching the regexp when generating requires (the
$RPM_BUILD_ROOT is already stripped).

You can use

    %define %__requires_exclude libfoo.*

to remove a generated dependency. The same is possible for %__provides_ and
%__supplements_.


You are receiving this mail because: