From ab935ab847911eccdcbc31d71881cbf83079790b Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 30 Mar 2020 11:44:10 -0500 Subject: [PATCH] f31+ firewalld already supports kdeconnect --- kde-connect.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kde-connect.spec b/kde-connect.spec index 90a1ed7..d023a35 100644 --- a/kde-connect.spec +++ b/kde-connect.spec @@ -1,6 +1,6 @@ Name: kde-connect Version: 1.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Summary: KDE Connect client for communication with smartphones @@ -110,7 +110,10 @@ popd %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +# firewalld as shipped in f31+ provides it's own kdeconnect.xml +%if 0%{?fedora} && 0%{?fedora} < 31 install -m644 -p -D %{SOURCE2} %{buildroot}%{_prefix}/lib/firewalld/services/kde-connect.xml +%endif %find_lang %{name} --all-name --with-html @@ -153,7 +156,10 @@ fi %{_datadir}/applications/org.kde.kdeconnect.daemon.desktop %{_libexecdir}/kdeconnectd %{_datadir}/dbus-1/services/org.kde.kdeconnect.service +# firewalld as shipped in f31+ provides it's own kdeconnect.xml +%if 0%{?fedora} && 0%{?fedora} < 31 %{_prefix}/lib/firewalld/services/kde-connect.xml +%endif %ldconfig_scriptlets libs @@ -169,6 +175,9 @@ fi %changelog +* Mon Mar 30 2020 Rex Dieter - 1.4-2 +- f31+ firewalld already supports kdeconnect + * Sun Mar 01 2020 Erich Eickmeyer - 1.4-1 - 1.4