Add support for Fedora Kinoite

See: https://fedoraproject.org/wiki/Changes/Fedora_Kinoite
This commit is contained in:
Timothée Ravier 2021-09-27 13:11:58 +02:00
parent 410e37c93e
commit d796a56118

View File

@ -1,7 +1,7 @@
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
Name: firewalld Name: firewalld
Version: 1.0.1 Version: 1.0.1
Release: 1%{?dist} Release: 2%{?dist}
URL: http://www.firewalld.org URL: http://www.firewalld.org
License: GPLv2+ License: GPLv2+
Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.gz Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.gz
@ -173,7 +173,7 @@ if [ ! -e %{_sysconfdir}/firewalld/firewalld.conf ]; then
server) server)
ln -sf firewalld-server.conf %{_sysconfdir}/firewalld/firewalld.conf || : ln -sf firewalld-server.conf %{_sysconfdir}/firewalld/firewalld.conf || :
;; ;;
workstation | silverblue | kde) workstation | silverblue | kde | kinoite)
ln -sf firewalld-workstation.conf %{_sysconfdir}/firewalld/firewalld.conf || : ln -sf firewalld-workstation.conf %{_sysconfdir}/firewalld/firewalld.conf || :
;; ;;
*) *)
@ -184,7 +184,7 @@ fi
if [ ! -e %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy ]; then if [ ! -e %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy ]; then
case "$VARIANT_ID" in case "$VARIANT_ID" in
workstation | silverblue | kde) workstation | silverblue | kde | kinoite)
ln -sf org.fedoraproject.FirewallD1.desktop.policy.choice %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy || : ln -sf org.fedoraproject.FirewallD1.desktop.policy.choice %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy || :
ln -sf org.fedoraproject.FirewallD1.desktop.rules.choice %{_datadir}/polkit-1/rules.d/org.fedoraproject.FirewallD1.rules ||: ln -sf org.fedoraproject.FirewallD1.desktop.rules.choice %{_datadir}/polkit-1/rules.d/org.fedoraproject.FirewallD1.rules ||:
;; ;;
@ -304,6 +304,9 @@ fi
%{_mandir}/man1/firewall-config*.1* %{_mandir}/man1/firewall-config*.1*
%changelog %changelog
* Mon Sep 27 2021 Timothée Ravier <tim@siosm.fr> - 1.0.1-2
- Add support for Fedora Kinoite
* Thu Aug 12 2021 Eric Garver <eric@garver.life> - 1.0.1-1 * Thu Aug 12 2021 Eric Garver <eric@garver.life> - 1.0.1-1
- rebase package to v1.0.1 - rebase package to v1.0.1