Le samedi 28 février 2009, à 02:17 +0100, Vincent Untz a écrit :
%find_package_doc would look for the common files (README, AUTHORS, MAINTAINERS, ChangeLog, NEWS, COPYING, COPYING.LIB, TODO, etc.) by checking their existence and checking they're not empty. And it would output what it finds in %{name}.package_doc.
And actually, it could even do the licenses stuff: http://en.opensuse.org/Packaging/Licenses It can be a bit too magic, though, since it should only be done if licenses is in Requires. (if it's not in BuildRequires, then the test would fail, so that wouldn't that much of an issue) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org