On Ter, 2015-12-01 at 16:44 +0000, Dave Love wrote: > What's the correct way to write a spec file that obeys the %license* > stipulation but also works for epel6? > > Some time ago I was told to follow > https://fedorahosted.org/fpc/ticket/411 and write > > %{!?_licensedir:%global license %%doc} > > and that now also appears in > https://fedoraproject.org/wiki/EPEL:Packaging?rd=Packaging:EPEL#The_. > 25license_tag https://fedoraproject.org/wiki/EPEL:Packaging#The_.25license_tag have the correct form : %{!?_licensedir:%global license %doc} > I now realize it's not working in any non-el5/6 mock root I've tried, > because the macro isn't defined (according to "rpmbuild --showrc"), > only > _defaultlicensedir is. > > Is the instruction simply wrong, or am I missing something? > > _ > * I keep writing "licence", which is the noun in English English. > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject. > org -- Sérgio M. B. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx