[Rpm-maint] [rpm-software-management/rpm] Detect and fail build on more than one %changelog section in spec (fe8c825)

Panu Matilainen notifications at github.com
Thu May 26 05:49:19 UTC 2016


On 05/25/2016 06:48 PM, Pierre-Antoine Grégoire wrote:
> Hello,
>
> is it supposed to prevent having distinct changelogs for sub-packages?
> Because as it is, it does prevent it.
> Though apparently this was previously supported (and quite logical, as sub-packages can also have distinct versioning).
> This looks like a regression, though not being sure it's not in fact a deliberate choice, I prefer to ask here than to open an issue.

The changelog is for the *spec*, not any individual packages. That's the 
way it always was and that's the only thing rpm ever supported.

Prior to the change there could be several %changelog sections in a spec 
but they would all get slopped to the same global changelog without 
proper chronological order applied or ensured etc.

As the commit message says, it's simply to add yet another missing 
sanity check to the spec parser, this is the ticket the message refers 
to (from times before github): http://rpm.org/ticket/27

	- Panu -


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/commit/fe8c82549aee176524e0e94786596683cd7a402d#commitcomment-17625096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160525/1bcb4a17/attachment.html>


More information about the Rpm-maint mailing list