public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grout] rawhide: New upstream release 0.16.1 (fedora#2499432)
@ 2026-07-13 8:21 Robin Jarry
0 siblings, 0 replies; only message in thread
From: Robin Jarry @ 2026-07-13 8:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/grout
Branch : rawhide
Commit : d7d808436105ef4118eab81f030cef4923e987fa
Author : Robin Jarry <rjarry@redhat.com>
Date : 2026-07-13T09:57:06+02:00
Stats : +27/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/grout/c/d7d808436105ef4118eab81f030cef4923e987fa?branch=rawhide
Log:
New upstream release 0.16.1 (fedora#2499432)
---
diff --git a/.gitignore b/.gitignore
index bb80d34..be03885 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/grout-0.15.0.tar.gz
/dpdk-25.11.2.tar.xz
/grout-0.16.0.tar.gz
+/grout-0.16.1.tar.gz
diff --git a/grout.spec b/grout.spec
index 3de1640..fc6dc33 100644
--- a/grout.spec
+++ b/grout.spec
@@ -25,7 +25,7 @@
%endif
Name: grout
-Version: 0.16.0
+Version: 0.16.1
Summary: Graph router based on DPDK
License: BSD-3-Clause
Group: System Environment/Daemons
@@ -99,12 +99,14 @@ BuildArch: noarch
This package contains the development headers to build %{name} API clients.
%if %{with frr}
-%global frr_version %(rpm -q --qf '%%{version}' frr-headers)
+%global frr_curr %(rpm -q --qf '%%{version}' frr-headers | awk -F. -v OFS=. '{ print $1, $2 }')
+%global frr_next %(rpm -q --qf '%%{version}' frr-headers | awk -F. -v OFS=. '{ print $1, $2+1 }')
%package frr
Summary: FRR zebra dataplane plugin for grout.
Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: frr%{?_isa} = %{frr_version}
+Requires: frr%{?_isa} >= %{frr_curr}
+Requires: frr%{?_isa} < %{frr_next}
%description frr
This package contains the FRR zebra dataplane plugin for grout.
@@ -154,11 +156,31 @@ rm -f %{buildroot}%{_mandir}/man7/grout-frr.7*
%{_includedir}/grout/*.h
%if %{with frr}
+%post frr
+if [ -f /etc/frr/daemons ] && ! grep -q '^zebra_options=.*dplane_grout' /etc/frr/daemons; then
+ cp -a /etc/frr/daemons /etc/frr/daemons.rpmsave
+ echo 'zebra_options="$zebra_options -M dplane_grout"' >> /etc/frr/daemons
+fi
+if [ -x "/usr/lib/systemd/systemd-update-helper" ]; then
+ /usr/lib/systemd/systemd-update-helper system-reload || :
+fi
+
+%postun frr
+if [ "$1" -eq 0 ] && [ -f /etc/frr/daemons ] && grep -q '^zebra_options=.*dplane_grout' /etc/frr/daemons; then
+ cp -a /etc/frr/daemons /etc/frr/daemons.rpmsave
+ sed -i -e '/^zebra_options="\$zebra_options -M dplane_grout"$/d' \
+ -e 's/-M dplane_grout//' /etc/frr/daemons
+fi
+if [ -x "/usr/lib/systemd/systemd-update-helper" ]; then
+ /usr/lib/systemd/systemd-update-helper system-reload || :
+fi
+
%files frr
%doc README.md
%license licenses/GPL-2.0-or-later.txt
%{_libdir}/frr/modules/dplane_grout.so
%attr(644, root, root) %{_mandir}/man7/grout-frr.7*
+%attr(644, root, root) %{_unitdir}/frr.service.d/grout.conf
%endif
%changelog
diff --git a/sources b/sources
index fbcdd00..ad31d6e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (dpdk-25.11.2.tar.xz) = 17a6abf53728973f099b19b9a9b820727a853576187bc207b646414f6a79202c2bb44aaa0407991cc2aea64e2c496a87becfb7a7ab9441f0234914be568b5833
-SHA512 (grout-0.16.0.tar.gz) = f00255acf57307823c6092b5555efad5f197a5d926b2865fdfc29d0e7f45f2a263b98e6df3bfdc1619e2b2643110c18091dc9d61882aa7651c9f9bbb4e8352b6
+SHA512 (grout-0.16.1.tar.gz) = 0f794b12b824fcb5f82071a9b58b9155f3dbdf11551273230559b63a0eacda627a034e3a5cfa790113b41043b545daacb60f4b590b7c8a41280aec19aff33958
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-13 8:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 8:21 [rpms/grout] rawhide: New upstream release 0.16.1 (fedora#2499432) Robin Jarry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox