diff --git a/firewalld.spec b/firewalld.spec index 42faa9605b45dd4bb91408ab7edff6c589951d6e..960a1b2943bf351f823ff8b02e35ed780fcda290 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,6 +1,6 @@ Name: firewalld Version: 1.0.2 -Release: 9 +Release: 10 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall License: GPLv2+ URL: http://www.firewalld.org @@ -211,13 +211,6 @@ sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" %{_sysconfdir}/fir %{_datadir}/metainfo/firewall-config.appdata.xml %{_datadir}/icons/hicolor/*/apps/firewall-config*.* %{_datadir}/glib-2.0/schemas/org.fedoraproject.FirewallConfig.gschema.xml -%else -%exclude %{_bindir}/firewall-config -%exclude %{_datadir}/firewalld/* -%exclude %{_datadir}/applications/firewall-config.desktop -%exclude %{_datadir}/metainfo/firewall-config.appdata.xml -%exclude %{_datadir}/icons/hicolor/*/apps/firewall-config*.* -%exclude %{_datadir}/glib-2.0/schemas/org.fedoraproject.FirewallConfig.gschema.xml %endif %exclude %{_datadir}/firewalld/testsuite/* @@ -230,6 +223,15 @@ sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" %{_sysconfdir}/fir %defattr(-,root,root) %{python3_sitelib}/firewall/* +%if %{!?openEuler:1}0 +%exclude %{_bindir}/firewall-config +%exclude %{_datadir}/firewalld/* +%exclude %{_datadir}/applications/firewall-config.desktop +%exclude %{_datadir}/metainfo/firewall-config.appdata.xml +%exclude %{_datadir}/icons/hicolor/*/apps/firewall-config*.* +%exclude %{_datadir}/glib-2.0/schemas/org.fedoraproject.FirewallConfig.gschema.xml +%endif + %files -n firewalld-test %dir %{_datadir}/firewalld/testsuite %{_datadir}/firewalld/testsuite/README @@ -243,6 +245,12 @@ sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" %{_sysconfdir}/fir %{_datadir}/firewalld/testsuite/python/firewalld_test.py %changelog +* Fri Jul 05 2024 zhouyihang - 1.0.2-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix unintentinally exclude file + * Fri Jul 05 2024 zhouyihang - 1.0.2-9 - Type:bugfix - ID:NA