Brian Cameron wrote:
> I agree it makes sense to move this to spec-files. The spec-file
> looks good. However, the %files sections are a bit cumbersome. We
> normally use wildcards or just specify directories, rather than specify
> each file. Especially for private directories where the contents can
> change but it isn't so important to track, or for directories where we
> add files since we know the contents.
I did that where possible, such as the l10n package, but didn't know how
to do that with the hacks - each hack delivers three files (binary, xml
config file, man page), and there's no simple pattern to describe which
hacks go into which of the the three hacks packages. They are built in
different subdirs, so I could patch them to install to different directories
if there was a spec file mechanism to say "Take all the files from the
${RPM_BUILD_ROOT}/usr/X11/lib/xscreensaver/hacks-glx directory and
install them to ${RPM_BUILD_ROOT}/usr/X11/lib/xscreensaver/hacks".
I suppose I could patch the code to look in subdirectories of hacks as well,
but that's more change than I was intending to make.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering