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_.25li...
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.