public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicholas Hubbard <nicholashubbard@posteo.net>
To: git-commits@fedoraproject.org
Subject: [rpms/ovn] rawhide: Escape %{release} macro in changelog
Date: Fri, 07 Aug 2026 09:17:39 GMT [thread overview]
Message-ID: <178609425949.1.13326999728739890012.rpms-ovn-8b2018e060e4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ovn
Branch : rawhide
Commit : 8b2018e060e48db7df651d9b1a1586067aa2682d
Author : Nicholas Hubbard <nicholashubbard@posteo.net>
Date : 2026-08-06T15:14:24+00:00
Stats : +5/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ovn/c/8b2018e060e48db7df651d9b1a1586067aa2682d?branch=rawhide
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 1b5704d..6533abe 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: 53%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
+Release: 54%{?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,11 +456,14 @@ fi
%{_unitdir}/ovn-br-db.service
%changelog
+* Thu Aug 6 2026 Nicholas Hubbard <nhubbard@redhat.com> - 26.03.1-54
+- Prevent RPM macro expansion in the version-suffix changelog entry.
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 26.03.1-53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Wed Jun 24 2026 Nicholas Hubbard <nhubbard@redhat.com> - 26.03.1-52
-- Configure OVN with --with-version-suffix=-%{release} so OVN binaries
+- Configure OVN with --with-version-suffix=-%%{release} so OVN binaries
report the full RPM version-release string.
* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 26.03.1-51
reply other threads:[~2026-08-07 9:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178609425949.1.13326999728739890012.rpms-ovn-8b2018e060e4@fedoraproject.org \
--to=nicholashubbard@posteo.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox