Re: Files in the directory excep some included as doc

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

 



On Tue, Feb 24, 2009 at 5:16 PM, Pierre-Yves wrote:
> On Tue, 2009-02-24 at 14:07 -0800, Conrad Meyer wrote:
>> On Tuesday 24 February 2009 01:48:59 pm Pierre-Yves wrote:
>> > On Tue, 2009-02-24 at 13:41 -0800, Conrad Meyer wrote:
>> > > On Tuesday 24 February 2009 01:36:14 pm Pierre-Yves wrote:
>> > > > I am wondering if there is any trick that could make me able to say in
>> > > > the %file section of a spec file
>> > > > include all what's in the directory foo
>> > > > except bar
>> > > > include bar as %doc
>> > > >
>> > > > (bar in contained in the directory foo)
>> > >
>> > > Move bar at the end of %install; add it to %doc normally.
>> >
>> > I do not install bar myself, it's done directly.
>> That does not stop you from moving it at the end of %install.
>
> I should not move them, they are where they should be:
>
> %{_datadir}/R/library/%{packname}/
>
> %doc %{_datadir}/R/library/%{packname}/doc
> %doc %{_datadir}/R/library/%{packname}/DESCRIPTION
> %doc %{_datadir}/R/library/%{packname}/html
> %doc %{_datadir}/R/library/%{packname}/late
>
> This obviously returns "File listed twice" but I was wondering if I
> could find a way to avoid to add the content of the whole directory.
>
> Just wondering if it is possible, it might not be. I already asked spot
> who had no idea about that.
>
> Thanks for your help,
>

How about creating symlinks inside %{_docdir}/%{name} that point to
%{_datadir}/R/library/%{packname}/doc etc ?

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