Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Have file attributes for %license and %doc (#713)
I think that for most common cases, [people don't want dependency generators for `%doc` and `%license`](https://bugzilla.redhat.com/show_bug.cgi?id=964126). Hence it might make sense to not process such files by default at all and add an attr flag that can enable to process them, such as: ``` %__NAME_flags doc license ``` That would still *not* expose the attributes to the generator but OTOH it doesn't need a new API. -- 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/issues/713#issuecomment-652366245___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Have file attributes for %license and %doc (#713)
Yeah, emitting virtual file flags from dependency generator could be a useful thing, %artifact is yet another such thing. Additionally file coloring could be outsourced to the generators, that's where it really belongs. This just needs a new API for the generator scripts, but this could be a per-fileattr switchable - by default they use the current "API", but allow them to opt-in to a version that expects colors and file attributes (and what else?) from the generator output too. -- 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/issues/713#issuecomment-542144946___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint