Panu Matilainen wrote:
Making %license use in spec saner is somewhat more complicated (due
to
the funny little historical issues listed above). I take it you'd like
it to behave exactly like %doc, like
%files
%doc README NEWS ChangeLog
%license COPYING
%{_bindir}/*
...which would place COPYING into the default docdir, but with the
license attribute set. Right?
This would require rebuilding all the packages. Perhaps it is more
useful to look at a centralized system policy (overridable) that
automatically tags particular files as licenses by applying heuristics.
Eliminate the %files section instead of adding more to it.
Rahul