On Fri, Mar 04, 2022 at 01:16:15PM +0100, Kevin Kofler via devel wrote:
> Michael J Gruber wrote:
> > and I have to live with that non-descriptive changelog entry (due to
> > %autochangelog).
> 
> That's why %autochangelog is such a bad idea. A manually maintained 
> %changelog can easily be edited in a followup commit.

$ rpmautospec generate-changelog >changelog
$ $EDITOR changelog
  (Here you want to remove the first entry for "Uncommitted changes",
   and adjust the entries for the rebuild,
   and remove the spurious empty line at the end.)
$ git commit -a -m 'Clarify changelog entries'

Since this commit touches 'changelog' file, rpmautospec will only start
generating %autochangelog entries for commit after this one.

%autochangelog has it's warts, but it certainly can be edited.

Best,
Zbyszek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to