On 20/09/2018 11:23, Michael Schroeder wrote:
On Wed, Sep 19, 2018 at 09:46:16PM +0200, Stefan Seyfried wrote:
How about "let's only store max. N lines of changelog in rpm metadata" (and just put the rest into the package in /usr/share/doc/packages/%name/old-rpm-changelog.txt)
Most of the metadata is probably changelog, isn't it?
We already do that, see /usr/lib/rpm/macros:
# maxnum,cuttime,minnum # 2009/03/01 (SLES11 GA) %_binarychangelogtrim 0,1235862000,10
We might want to advance the cutoff time to SLE12 GA, though ;)
(The src rpms always contain the full changelog)
It would make things easier if a srpm contained the .changes file but unfortunately it only has the normal uncompressed CHANGES. Dave
Cheers, Michael.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org