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...

See my website if you are still confused :
http://freshrpms.net/
(in the spec file examples section, I've added gdk-pixbuf as an example of
this)

Cheers,
Matthias

--
Matthias Saou
matthias accelance fr




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