Re: Evolution testing specfile (evolution 0.10)



On Wed, 23 May 2001, Matthias Saou wrote:

> From: Matthias Saou <matthias accelance fr>
> Subject: Re: Evolution testing specfile (evolution 0.10)
>
> > You are confusing 3 things:
> >
> > a) %dir %{_libdir}/evolution
> > b) %{_libdir}/evolution
> > c) %{_libdir}/evolution/*
> >
> > a) refers to only the dir, and only that, without any files or dirs in it.
> > b) refers to the dir with all files and dirs in it.
> > c) refers to all the files and dirs in the dir.
> >
> > I think what you want is b). a) should NOT be used unless you have a VERY
> > good reason.
>
> No I'm not confusing anything :-)
>
> Say you have these two files in your "foo" package :
> %{_datadir}/pixmaps/foo/foo.png
> %{_datadir}/pixmaps/foo/foo-background.png
>
> You want to put the second one in a separate "foo-extras" sub-package, then
> you cannot use your "b)" solution.
> What you have to do is use "a)" to have the "%{_datadir}/pixmaps/foo"
> directory owned by the main "foo" package and list the first file in that
> one and the second one in the "foo-extras"'s %files section.
>
> I hope I've been clear enough...

Yes, that would be a valid use. Even thou I have my doubts about a package
that is split up this way (there may be good reasons to do it, but in most
cases it's not a good thing (tm)) :)

Greets,

Chipzz AKA
Jan Van Buggenhout
-- 

--------------------------------------------------------------------------
                  UNIX isn't dead - It just smells funny
                            Chipzz ULYSSIS Org
--------------------------------------------------------------------------





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