> It's the glob. For better packaging, you would at least use something
> like
>
> %{_libdir}/%{name}
> %{_libdir}/whatever

Why??? Until now, we knew that there would only ever be files that needed
to be in the package there. What happens when rpm decides they now want
unstripped copies of binaries in %_bindir or something?

>
> while %_libdir/* is not much better than using
>
> %files
> /*

It's much better.
/* would own many directories owned by other packages (mainly filesystem),
whereas for any package that doesn't have lib subpackages, %_libdir/* is
perfectly valid, as it will only own files the package should own.

BTW, is there actually any real use for these debug packages. I had a
samba3-debug package (containing benchmark/validation tools), which I now
had to rename, and add provides/obsoletes for also.

They could at least have chosen a better name (-rpm_debug or something)
which is guaranteed not to conflict with other package names ...

Buchan



Reply via email to