Richard Shaw <hobbes1...@gmail.com> writes:

> On Tue, Dec 1, 2015 at 10:44 AM, Dave Love <d.l...@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_.25license_tag
>
>
> 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)?
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to