exclude the provides and requires together
d tbsky
tbskyd at gmail.com
Sat Aug 4 17:40:52 UTC 2018
Hi:
i am trying to build a rpm which include some libraries. these
libraries conflicts with distribution's rpms, so I want to exclude
them.
at first I " __provides_exclude" all the files with my rpm, then I
found the rpm need them itself when install.
next I tried to "__requires_exclude" all the files also. but then
some necessary external required libraries are skipped when install.
finally I found what I really want is find out all the rpm
"provides" lists, then "__provides_exclude" and "__requires_exclude"
the lists.
I search the email-list but can not find a similar marco for such
things. the suggestion years ago is manually find out the names and
exclude them.
I wonder with recent rpm, is it possible to write a macro, which will
"__find_provides" and the feed the list as regex to
"__provides_exclude" and "__provides_exclude"?
thanks a lot for help!!
More information about the Rpm-list
mailing list