[Rpm-maint] [rpm-software-management/rpm] [RFE] Execute dependency generators on the .spec file which ships them (#782)
notifications at github.com
Fri Jul 12 17:17:26 UTC 2019
I don't believe it's that easy if you don't already have a `.attr` file. It doesn't look to me as if RPM will look at `%__foo_magic` or `%_foo_provides` unless it sees `%_fileattrsdir/foo.attr` first. Of course, you could override `%_fileattrsdir` instead, but then you would have to copy the contents of the system directory because RPM looks only in one place. Even if you told RPM to look in the buildroot, the locations of the scripts would be wrong.
Looking at the code, I think that with ugly hacks it might be possible to get around all of that, but I can't imagine the rather small benefit would justify the ugliness given the tiny number of packages which install file attributes.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint