conditionalizing %license

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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@xxxxxxxxxxxxxxxxxxxxxxx



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux