From 32b21583c8dc966a900a0dd3a25f2b9e50400d9e Mon Sep 17 00:00:00 2001 From: Roberto Sassu Date: Thu, 3 Sep 2020 11:33:34 +0200 Subject: [PATCH] Create firewalld temporary file --- firewalld.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index 00d0e44..78dd4c6 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,8 @@ 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 +184,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 +203,9 @@ fi %changelog +* Thu Sep 10 2020 Roberto Sassu - 0.8.3-3 +- create firewalld temporary file + * Wed Sep 09 2020 gaihuiying - 0.8.3-2 - Type:bugfix - ID:NA -- Gitee