[Rpm-maint] [rpm-software-management/rpm] Files in %_docdir are not passed to dependency generators (#1297)

2020-07-01 Thread Miro Hrončok
There is this default: https://github.com/rpm-software-management/rpm/blob/262d4855cd460048d106eb948fc677e6e435ed6e/macros.in#L208-L213 It prevents *any* dependency generator to see files in `%_docdir`. While I agree that this makes a good default as the majority of the dependency generators

Re: [Rpm-maint] [rpm-software-management/rpm] Files in %_docdir are not passed to dependency generators (#1297)

2020-07-01 Thread Miro Hrončok
This was done in 816c7cf3fdae5c45de02a42a2245549778e2ca80 I wonder if you would accept applying the regex as the default value for `%__NAME_exclude_path` instead. That should still [fix the original problem](https://bugzilla.redhat.com/show_bug.cgi?id=964126) while it would allow dependency

Re: [Rpm-maint] [rpm-software-management/rpm] Files in %_docdir are not passed to dependency generators (#1297)

2020-07-01 Thread Miro Hrončok
Ah I wanted to add links. See https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/thread/KY2PV6ENHUIO6OYOL3LWSNYEZJIAUHPZ/#KY2PV6ENHUIO6OYOL3LWSNYEZJIAUHPZ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [Rpm-maint] [rpm-software-management/rpm] Files in %_docdir are not passed to dependency generators (#1297)

2020-07-01 Thread Igor Raits
Just curious, what's your use-case? -- 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/1297#issuecomment-652382807___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Have file attributes for %license and %doc (#713)

2020-07-01 Thread Miro Hrončok
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: ```

Re: [Rpm-maint] [rpm-software-management/rpm] Files in %_docdir are not passed to dependency generators (#1297)

2020-07-01 Thread Miro Hrončok
See also https://github.com/rpm-software-management/rpm/issues/713#issuecomment-652366245 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: