On 09/21/2017 06:51 PM, nicolas.mailhot@xxxxxxxxxxx wrote:
Hi,
I seem to remember that there was a way in recent rpm to declare autoprovides without touching the rpm package itself.
ie drop a file somewhere that tells rpm to process some path patterns with a script that outputs provides strings
However, I don't seem to manage to find the feature documentation (too many hits explaining how to disable automatic dependency generation). Can anyone on the list point me the right Fedora way?
Basically go packages really want to generate the "golang(foo)" autodep for every installed foo subdir of %{gopath}/src/ that contains some stuff.
See http://rpm.org/user_doc/dependency_generators.html
For practical examples see
https://github.com/rpm-software-management/rpm/tree/master/fileattrs
and/or your local /usr/lib/rpm/fileattrs/ directory, eg. pkgconfig and
desktop deps are purely path based.
- Panu -
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx