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: 2c31de07cd

Resolves: #1995186
This commit is contained in:
Thomas Haller 2021-08-20 11:40:55 +02:00
parent 2c31de07cd
commit b504660bb9

View File

@ -4,7 +4,7 @@
Name: ModemManager Name: ModemManager
Version: 1.14.10 Version: 1.14.10
Release: 5%{?dist} Release: 6%{?dist}
Summary: Mobile broadband modem management service Summary: Mobile broadband modem management service
License: GPLv2+ License: GPLv2+
URL: http://www.freedesktop.org/wiki/Software/ModemManager/ URL: http://www.freedesktop.org/wiki/Software/ModemManager/
@ -25,6 +25,8 @@ Requires(post): systemd
Requires(postun): systemd Requires(postun): systemd
Requires(preun): systemd Requires(preun): systemd
Requires: polkit
BuildRequires: automake autoconf libtool autoconf-archive BuildRequires: automake autoconf libtool autoconf-archive
BuildRequires: dbus BuildRequires: dbus
BuildRequires: dbus-daemon BuildRequires: dbus-daemon
@ -170,6 +172,9 @@ find %{buildroot} -type f -name "*.la" -delete
%{_datadir}/vala/vapi/libmm-glib.* %{_datadir}/vala/vapi/libmm-glib.*
%changelog %changelog
* Fri Aug 20 2021 Thomas Haller <thaller@redhat.com> - 1.14.10-6
- depend ModemManager on polkit package (rh #1995186)
* Thu Aug 19 2021 Thomas Haller <thaller@redhat.com> - 1.14.10-5 * Thu Aug 19 2021 Thomas Haller <thaller@redhat.com> - 1.14.10-5
- enable polkit support to allow normal users to access modems (rh #1995186) - enable polkit support to allow normal users to access modems (rh #1995186)