diff --git a/firewalld.spec b/firewalld.spec index 00d0e44077d37aea949e62981bd978f5b6d8c718..1145fe50a12ac297928aa7056aa5188c3cd8cfe3 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