From b6e05e503d761f8b561b8b6b252d84165cda9a12 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Wed, 2 Mar 2022 07:36:48 +0000 Subject: [PATCH] change %systemd_requires to %{?systemd_requires} --- iptables.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/iptables.spec b/iptables.spec index 0b8e193..5fa315e 100644 --- a/iptables.spec +++ b/iptables.spec @@ -2,7 +2,7 @@ %global legacy_actions %{_libexecdir}/initscripts/legacy-actions Name: iptables Version: 1.8.7 -Release: 4 +Release: 5 Summary: IP packet filter administration utilities License: GPLv2 and Artistic Licence 2.0 and ISC URL: https://www.netfilter.org/ @@ -13,7 +13,7 @@ Source3: iptables.service Source4: sysconfig_iptables Source5: sysconfig_ip6tables -Patch0: bugfix-add-check-fw-in-entry.patch +Patch0: bugfix-add-check-fw-in-entry.patch BuildRequires: bison flex gcc kernel-headers libpcap-devel libselinux-devel systemd BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel @@ -23,7 +23,7 @@ Requires: %{name}-libs = %{version}-%{release} Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives -%systemd_requires +%{?systemd_requires} Provides: iptables-utils iptables-services Obsoletes: iptables-utils iptables-services @@ -317,6 +317,9 @@ fi %{_mandir}/man8/xtables-legacy* %changelog +* Wed Mar 02 2022 duyiwei - 1.8.7-5 +- change %systemd_requires to %{?systemd_requires} + * Wed Feb 23 2022 gaihuiying - 1.8.7-4 - Type:bugfix - ID:NA -- Gitee