Mailinglist Archive: opensuse-packaging (186 mails)

< Previous Next >
Re: [opensuse-packaging] rpm macro to find the standard package doc
  • From: Vincent Untz <vuntz@xxxxxxxxxxxx>
  • Date: Sat, 28 Feb 2009 02:22:15 +0100
  • Message-id: <20090228012215.GA24217@xxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References