From 2994d251b403f94e72d71ae9378d92b2d66e1c48 Mon Sep 17 00:00:00 2001 From: z00507040 Date: Sat, 18 Jan 2020 12:44:36 +0800 Subject: [PATCH] initfile --- iptables.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/iptables.spec b/iptables.spec index d01d58f..154257f 100644 --- a/iptables.spec +++ b/iptables.spec @@ -2,7 +2,7 @@ %global legacy_actions %{_libexecdir}/initscripts/legacy-actions Name: iptables Version: 1.8.1 -Release: 3 +Release: 4 Summary: IP packet filter administration utilities License: GPLv2 and Artistic Licence 2.0 and ISC URL: https://www.netfilter.org/ @@ -88,7 +88,7 @@ install -m 0755 -d %{buildroot}%{_includedir}/libipulog/ install -m 0644 include/libipulog/*.h %{buildroot}%{_includedir}/libipulog install -m 0755 -d %{buildroot}/%{script_path} -install -m 0644 -c %{SOURCE1} %{buildroot}/%{script_path}/iptables.init +install -m 0755 -c %{SOURCE1} %{buildroot}/%{script_path}/iptables.init sed -e 's;iptables;ip6tables;g' -e 's;IPTABLES;IP6TABLES;g' < %{SOURCE1} > ip6tables.init install -m 0755 ip6tables.init %{buildroot}/%{script_path}/ip6tables.init install -m 0755 -d %{buildroot}%{_sysconfdir}/sysconfig @@ -248,6 +248,9 @@ fi %{_mandir}/* %changelog +* Sat Jan 18 2020 openEuler Buildteam - 1.8.1-4 +- add executable permissions to iptables.init + * Wed Jan 15 2020 openEuler Buildteam - 1.8.1-3 - optimization the patch -- Gitee