20.09.2018 12:09, Manfred Hollstein пишет:
Moin,
On Thu, 20 Sep 2018, 11:02:06 +0200, Johannes Meixner wrote:
Hello,
On 9/19/18 9:46 PM, 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)
just another offhanded "great idea":
I think what might work in practice is to provide always all lines of the changelog as regular file /usr/share/doc/packages/%name/changelog and have in the RPM metadata only one line of text "See /usr/share/doc/packages/%name/changelog"
My basic reasoning behind is to never cut the RPM changelog into pieces but keep it fully intact.
Ideally 'rpm -q --changelog' would be enhanced to check if /usr/share/doc/packages/%name/changelog exists and if yes use that to display the changelog and if not fall back to display the changelog of the metadata.
trouble with that is, you would have to *install* a package first to be able to look at its changelog :(
Well, Debian has "apt-get changelog" which downloads it on demand. Could use something similar.