From 467855a9b9c8bc31656b21d20baa84902416971f 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 3e9a057..80cb98b 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,6 +1,6 @@ Name: firewalld Version: 0.8.3 -Release: 1 +Release: 2 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall License: GPLv2+ URL: http://www.firewalld.org @@ -90,6 +90,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 @@ -178,6 +180,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 @@ -196,6 +199,9 @@ fi %changelog +* Thu Sep 03 2020 Roberto Sassu - 0.8.3-2 +- create firewalld temporary file + * Wed Apr 29 2020 zhouyihang - 0.8.3-1 - Type:requirement - ID:NA -- Gitee