From d7090ae35aef5342902278927e1767519f8024f4 Mon Sep 17 00:00:00 2001 From: nettingsisyphus Date: Wed, 23 Dec 2020 09:48:53 +0800 Subject: [PATCH] create firewalld temporary file --- firewalld.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index da0307f..26b9060 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,6 +1,6 @@ Name: firewalld Version: 0.6.6 -Release: 2 +Release: 3 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall License: GPLv2+ URL: http://www.firewalld.org @@ -86,6 +86,7 @@ mv %{buildroot}%{_sysconfdir}/firewalld/firewalld.conf \ %find_lang %{name} --all-name +dd if=/dev/zero of=$RPM_BUILD_ROOT/%{_datadir}/firewalld/firewalld-tmp-mmap bs=4096 count=1 %check @@ -173,6 +174,7 @@ fi %exclude %{_mandir}/man1/firewall-applet*.1* %defattr(0644,root,root) +%attr (0700,root,root) %{_datadir}/firewalld/firewalld-tmp-mmap %{_datadir}/firewalld/* %{_datadir}/applications/firewall-config.desktop %{_datadir}/metainfo/firewall-config.appdata.xml @@ -191,6 +193,12 @@ fi %changelog +* Wed Dec 23 2020 Anakin Zhang - 0.9.6-3 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:create firewalld temporary file + * Tue Nov 10 2020 quanhongfei - 0.9.6-2 - Type:requirement - ID:NA -- Gitee