Richard Shaw <hobbes1069(a)gmail.com> writes:
On Tue, Dec 1, 2015 at 10:44 AM, Dave Love
<d.love(a)liverpool.ac.uk> 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_.25li...
Yeah, I ran into the same problem, turns out you don't need the double % in
front of doc, then it works as expected.
Sorry, I don't understand. What do I need to get _licensedir defined
appropriately so that the conditional makes sense (per the chopped part
of my message)?