On Tue, Sep 18, 2001 at 10:52:22AM -0700, Kayvan A. Sylvan wrote:
>
> This should make Zvezdan happy, I hope. ;-)
>
Certainly. :-)
> +%{_prefix}
It's rather unfortunate that I pressed `r' instead of `L' and my reply
went to Lars only instead of whole list but here's a copy that explains
why this is _THE BAD_ thing to do.
==================
For goodness sake _NO_! By using just %{_prefix_} you declare yourself
as an owner of the whole /usr subtree! Is that _really_ what you want?
Imagine just a small bug in RPM: on uninstall or update of LyX you would
remove whole /usr subtree. Please, read Maximum RPM on www.rpm.org about
the dangers of bad declarations in the %files section.
==================
In addition, even on a non-buggy RPM if you do rpm -evvv lyx you'll see
that it schedules /usr for removal, but then (fortunately) finds out
that fileutils owns /usr too and doesn't remove it. There are a few KDE
packages that are badly built and claim that they own /usr. We don't
want to be like them, do we?
Kayvan, please stick with the %files section from my spec file. It's
well defined.
Best regards,
--
Zvezdan Petkovic <[EMAIL PROTECTED]>
http://www.cs.wm.edu/~zvezdan/