On 10/23/2016 04:09 PM, Michael Catanzaro wrote:
On Sun, 2016-10-23 at 03:49 +0000, Christopher wrote:
> 2. Should I preserve the entire changelog in the SPEC? Or should I
> roll it
> over when I update to the latest upstream? It seems the changelog
> could
> easily become the bulk of a package if everything is preserved, and
> I'd
> think git would suffice for anything older than the last few rebases
> onto
> latest upstream.
This is indeed annoying. In most packages, the changelog is almost the
entire spec file. Some packagers eventually delete old changelog
entries, most don't.
Our rules is "leave it to the packager's personal
preference" and to
"keep what's important".
SUSE has a %changelog RPM macro that fixes this by
moving the changelog into a .changes file stored in the same directory.
Every SUSE package uses it. Probably we should too?
No. That said, I personally consider SUSE's addiction to macros to be
more or less a religious fetish, which in many case has lost the it's
original purpose out of sight.
Ralf