Re: License file in multiple locations

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

 



On Thu, Apr 16, 2009 at 10:04 AM, Kalev Lember  wrote:
> Hello,
>
> I am trying to package a program that expects to find its license file
> (COPYING) in /usr/share/%{name} to be able to show license text at
> runtime. However, standard practice is to install this file to the %doc
> directory in /usr/share/doc/%{name}-%{version}.
>
> What would be a good way to solve this? Right now I can see 4 different
> ways and each of it has its flaws:
>
> 1) Symlink the file from /usr/share/%{name} to the standard %doc
> directory. This doesn't seem to be a good idea, because then runtime
> would depend on the presence of %doc marked items.
>

I would do it the other way around. Put the original file in
/usr/share/%{name}, and they symlink will be in
%{_docdir}/%{name}-%{version} pointing to  /usr/share/%{name}/COPYING
.

Orcan

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[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