Should %license always be installed in /usr/share/licenses?

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

 



Hi. An interesting question popped out during a PR review [1].


Should %license always be specified relative and installed to /usr/share/licenses like this:

    %license LICENSE

Or is it totally OK to specify it absolutely like this:

    %license %{_whatnot}/%{name}/LICENSE

?

Technically, both is possible and behaves like %doc.


[1] https://src.fedoraproject.org/rpms/python38/pull-request/33

Thanks,
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




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

  Powered by Linux