fix BusName (kde#431963)

.spec cosmetics
epel9
Rex Dieter 4 years ago
parent a74614efcd
commit c17866de70

@ -0,0 +1,12 @@
diff -up polkit-kde-agent-1-5.20.90/plasma-polkit-agent.service.in.kde431963 polkit-kde-agent-1-5.20.90/plasma-polkit-agent.service.in
--- polkit-kde-agent-1-5.20.90/plasma-polkit-agent.service.in.kde431963 2021-01-21 07:06:45.000000000 -0600
+++ polkit-kde-agent-1-5.20.90/plasma-polkit-agent.service.in 2021-01-25 14:46:10.918878347 -0600
@@ -4,7 +4,7 @@ PartOf=graphical-session.target
[Service]
ExecStart=@KDE_INSTALL_FULL_LIBEXECDIR@/polkit-kde-authentication-agent-1
-BusName=org.kde.Polkit1AuthAgent
+BusName=org.kde.polkit-kde-authentication-agent-1
Slice=background.slice
After=plasma-core.target
TimeoutSec=5sec

@ -3,10 +3,10 @@
Name: polkit-kde
Summary: PolicyKit integration for KDE Desktop
Version: 5.20.90
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: https://cgit.kde.org/%{base_name}.git
URL: https://invent.kde.org/plasma/%{base_name}
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
@ -16,6 +16,11 @@ URL: https://cgit.kde.org/%{base_name}.git
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
## upstreamable patches
# https://bugs.kde.org/show_bug.cgi?id=431963
Patch100: polkit-kde-agent-1-5.20.90-kde431963.patch
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel
@ -47,11 +52,11 @@ Provides Policy Kit Authentication Agent that nicely fits to KDE.
%prep
%autosetup -n %{base_name}-%{version}
%autosetup -n %{base_name}-%{version} -p1
%build
%{cmake_kf5}
%cmake_kf5
%cmake_build
@ -75,7 +80,12 @@ mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \
%{_kf5_datadir}/applications/org.kde.polkit-kde-authentication-agent-1.desktop
%{_userunitdir}/plasma-polkit-agent.service
%changelog
* Mon Jan 25 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.20.90-2
- fix BusName (kde#431963)
- .spec cosmetics
* Thu Jan 21 2021 Jan Grulich <jgrulich@redhat.com> - 5.20.90-1
- 5.20.90 (beta)

Loading…
Cancel
Save