On Fri, Feb 04, 2022 at 10:20:30PM +0000, Richard W.M. Jones wrote:
On Wed, Jan 19, 2022 at 04:03:32PM -0700, Jerry James wrote:
> The last OCaml mass rebuild made incorrect changes to two spec files
> that use rpmautospec, namely ocaml-base64 and ocaml-opam-file-format.
> The Release field should be reverted to plain "%autorelease" and the
> changelog entry above "%autochangelog" removed. If nobody has time to
> deal with it before the mass rebuild starts, I can fix them.
Actually now I look, it's fine, and I've no idea why!
Maybe rpmdev-bumpspec (which I use to update the changelog) has some
magic for rpmautospec files?
Yes:
$ rpmdev-bumpspec -c '- OCaml 4.13.1 rebuild to remove package notes' *.spec
RPMAutoSpec usage detected, not changing the spec file.
$ echo $?
0
Unfortunately while that works fine from the rpmdev-bumpspec point of
view, it doesn't work well for the goals file which is expecting to
use that message in the %changelog to know that the package was
bumped:
http://git.annexia.org/?p=goals.git;a=blob;f=stdlib/fedora.gl;h=cb518bc7a...
I'll have to work around this for now - not sure how to fix this
properly yet.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html