From bab1595672272337209a6644f6c1eb21002c142f Mon Sep 17 00:00:00 2001 From: nettingsisyphus Date: Thu, 17 Dec 2020 20:37:58 +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 00d0e44..770a008 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,6 +1,6 @@ Name: firewalld Version: 0.8.3 -Release: 2 +Release: 3 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall License: GPLv2+ URL: http://www.firewalld.org @@ -94,6 +94,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 @@ -182,6 +183,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 @@ -200,6 +202,12 @@ fi %changelog +* Thu Dec 17 2020 Anakin Zhang - 0.8.3-3 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:create firewalld temporary file + * Wed Sep 09 2020 gaihuiying - 0.8.3-2 - Type:bugfix - ID:NA -- Gitee