public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ovn] f44: Escape %{release} macro in changelog
@ 2026-08-07  9:55 Nicholas Hubbard
  0 siblings, 0 replies; only message in thread
From: Nicholas Hubbard @ 2026-08-07  9:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ovn
            Branch : f44
            Commit : bcb2f8befe342d18d5c977b3fdd85bea46c90e8e
            Author : Nicholas Hubbard <nicholashubbard@posteo.net>
            Date   : 2026-08-07T11:22:11+02:00
            Stats  : +4/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ovn/c/bcb2f8befe342d18d5c977b3fdd85bea46c90e8e?branch=f44

            Log:
            Escape %{release} macro in changelog

The %{release} macro in the changelog entry is currently expanded during the RPM build, causing the packaged changelog to display the build’s release value instead of the literal configure option.

This commit escapes the macro as %%{release} so the changelog displays correctly.

---
diff --git a/ovn.spec b/ovn.spec
index 745aa83..529d4b6 100644
--- a/ovn.spec
+++ b/ovn.spec
@@ -46,7 +46,7 @@ Name: ovn
 Summary: Open Virtual Network support
 URL: http://www.openvswitch.org/
 Version: 26.03.1
-Release: 51%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
+Release: 52%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
 Obsoletes: openvswitch-ovn-common < %{?epoch_ovs:%{epoch_ovs}:}2.11.0-8
 Provides: openvswitch-ovn-common = %{?epoch:%{epoch}:}%{version}-%{release}
 
@@ -456,6 +456,9 @@ fi
 %{_unitdir}/ovn-br-db.service
 
 %changelog
+* Thu Aug 6 2026 Nicholas Hubbard <nhubbard@redhat.com> - 26.03.1-52
+- Prevent RPM macro expansion in the version-suffix changelog entry.
+
 * Wed Jun 24 2026 Nicholas Hubbard <nhubbard@redhat.com> - 26.03.1-51
 - Configure OVN with --with-version-suffix=-%{release} so OVN binaries
   report the full RPM version-release string.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07  9:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07  9:55 [rpms/ovn] f44: Escape %{release} macro in changelog Nicholas Hubbard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox