From b504660bb99f1e059f47fc8c09ad98e888227453 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 20 Aug 2021 11:40:55 +0200 Subject: [PATCH] require polkit service from ModemManager package When building ModemManager with --with-polkit=, the ModemManager.service "Requires=polkit". It becomes a strict package dependency. Add the dependency. Fixes: 2c31de07cd27105f78285556cf0d76247cb90dd3 Resolves: #1995186 --- ModemManager.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ModemManager.spec b/ModemManager.spec index d1c7886..983c6bf 100644 --- a/ModemManager.spec +++ b/ModemManager.spec @@ -4,7 +4,7 @@ Name: ModemManager Version: 1.14.10 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Mobile broadband modem management service License: GPLv2+ URL: http://www.freedesktop.org/wiki/Software/ModemManager/ @@ -25,6 +25,8 @@ Requires(post): systemd Requires(postun): systemd Requires(preun): systemd +Requires: polkit + BuildRequires: automake autoconf libtool autoconf-archive BuildRequires: dbus BuildRequires: dbus-daemon @@ -170,6 +172,9 @@ find %{buildroot} -type f -name "*.la" -delete %{_datadir}/vala/vapi/libmm-glib.* %changelog +* Fri Aug 20 2021 Thomas Haller - 1.14.10-6 +- depend ModemManager on polkit package (rh #1995186) + * Thu Aug 19 2021 Thomas Haller - 1.14.10-5 - enable polkit support to allow normal users to access modems (rh #1995186)