From ec201f0cce05507ced59de2eada95854e88a91bd Mon Sep 17 00:00:00 2001 From: Sumynwa Date: Wed, 23 Oct 2024 19:18:20 +0530 Subject: [PATCH] iptables: Add runtime dependency for alternatives. --- SPECS/iptables/iptables.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SPECS/iptables/iptables.spec b/SPECS/iptables/iptables.spec index b901d59052a..8da15421fad 100644 --- a/SPECS/iptables/iptables.spec +++ b/SPECS/iptables/iptables.spec @@ -1,7 +1,7 @@ Summary: Linux kernel packet control tool Name: iptables Version: 1.8.10 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Vendor: Microsoft Corporation Distribution: Azure Linux @@ -18,6 +18,8 @@ BuildRequires: libmnl-devel BuildRequires: libnftnl-devel BuildRequires: systemd-bootstrap-rpm-macros Requires: iana-etc +Requires(post): %{_sbindir}/alternatives +Requires(postun): %{_sbindir}/alternatives # Our build tooling cannot handle this #Requires: systemd Provides: %{name}-services = %{version}-%{release} @@ -130,6 +132,9 @@ fi %{_mandir}/man3/* %changelog +* Wed Oct 23 2024 Sumedh Sharma - 1.8.10-4 +- Add runtime requirements for alternatives + * Fri Oct 18 2024 Sumedh Sharma - 1.8.10-3 - Enable nftables and use alternatives.