Let Silverblue follow the same rules as Workstation

After Silverblue started to use fedora-release-silverblue instead of
fedora-release-workstation.
This commit is contained in:
Tomas Popela 2020-04-14 12:04:59 +02:00
parent 0505b2f97d
commit 8aded3b5f9

View File

@ -1,7 +1,7 @@
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
Name: firewalld
Version: 0.8.2
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.firewalld.org
License: GPLv2+
Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.gz
@ -166,7 +166,7 @@ if [ ! -e %{_sysconfdir}/firewalld/firewalld.conf ]; then
server)
ln -sf firewalld-server.conf %{_sysconfdir}/firewalld/firewalld.conf || :
;;
workstation)
workstation | silverblue)
ln -sf firewalld-workstation.conf %{_sysconfdir}/firewalld/firewalld.conf || :
;;
*)
@ -177,7 +177,7 @@ fi
if [ ! -e %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy ]; then
case "$VARIANT_ID" in
workstation)
workstation | silverblue)
ln -sf org.fedoraproject.FirewallD1.desktop.policy.choice %{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy || :
;;
*)
@ -277,6 +277,10 @@ fi
%{_mandir}/man1/firewall-config*.1*
%changelog
* Tue Apr 14 2020 Tomas Popela <tpopela@redhat.com> - 0.8.2-2
- Let Silverblue follow the same rules as Workstation (after Silverblue started
to use fedora-release-silverblue instead of fedora-release-workstation)
* Fri Apr 03 2020 Eric Garver <egarver@garver.life> - 0.8.2-1
- rebase package to v0.8.2