[Rpm-maint] [rpm-software-management/rpm] Add %alias_provides() as a new "useful generic macro" (#614)
Jan Pokorný
notifications at github.com
Tue Dec 18 14:56:10 UTC 2018
This is spurred with a former naive assumption that arch-qualification
in Provides: will make any dependants (Requires:, Recommends: etc.) free
to choose whether to specify such qualifier or not, as that simply works
with direct package references (because both variants gets provided under
the hood unconditionally). In fact, this arch-qualification is just
a conventional string serialization of this extra annotation, meaning
said assumption won't hold in the face of the applied string matching.
Upon closer examination, it turned out that it's actually quite
a wide-spread pattern with explicit/virtual/alias Provides: to specify
both these variants in row (250+ individual spec files in Fedora).
Hence, to allow this to be handled more conveniently (several years down
the road, admittedly), offer a brand new generic macro to simplify such
arrangements eventually.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/614
-- Commit Summary --
* Add %alias_provides() as a new "useful generic macro"
-- File Changes --
M macros.in (8)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/614.patch
https://github.com/rpm-software-management/rpm/pull/614.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/614
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181218/40318f3d/attachment.html>
More information about the Rpm-maint
mailing list