[desktop-discuss] spec files question regarding directory entries in %files
Eric Boutilier
Eric.Boutilier at Sun.COM
Fri Jul 14 08:41:23 PDT 2006
Question about the %files section of spec files. I find
specifying directories with and w/out %dir, and/or with and
w/out wildcards confusing, as described below. Could someone
clarify and maybe comment on best practices in this regard?
(The RPM spec file tuturorial I'm using isn't very helpful in
this regard.)
Eric
1. Does the following line mean to include only the
directory %{_datadir}/aclocal and nothing else
(i.e. its contents will be specified elsewhere)?
%dir %{_datadir}/aclocal
(I copied this from nvu.spec)
2. Do the following lines all mean to include the
directory %{_datadir}/aclocal and all its contents?
%{_datadir}/aclocal
%{_datadir}/aclocal/
%{_datadir}/aclocal/*
(I copied these from cherokee.spec, SDL.spec,
and glibmm.spec respectively)
More information about the desktop-discuss
mailing list