From 5269e51243ce88a258cc4ad89eeb90c758a77091 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firewalld.spec b/firewalld.spec index 00d0e44..1145fe5 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -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