Re: %license for EPEL6

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

 



On Tue, 17 Mar 2015 17:59:05 +0100, Thomas Moschny wrote:

> I have a package that can be build on all Fedora branches and on EPEL
> 6 and 7 with the same spec file. It uses
> 
>   %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
> 
> and copies all docs to this %_pkgdocdir. This works fine.
> 
> Now how should I handle licenses? On EPEL6, %license is not defined,
> neither is %_licensedir.
> One possibility is to use
> 
>   %{!?_licensedir:%global license %%doc}
> 
> but that would violate the (fresh) packaging guideline mandating usage
> of either %_pkgdocdir or %doc, but not both in the same specfile.
> Any other suggestions?

https://fedoraproject.org/wiki/Packaging:DistTag#Conditionals
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux