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: 620ae5623e
This commit is contained in:
Thomas Haller 2021-08-20 11:40:55 +02:00
parent fb6d9a9a7d
commit 9333504c68
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Name: ModemManager
Version: 1.18.0
Release: 1%{?dist}
Release: 2%{?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
@ -174,6 +176,9 @@ find %{buildroot} -type f -name "*.la" -delete
%{_datadir}/vala/vapi/libmm-glib.*
%changelog
* Fri Aug 20 2021 Thomas Haller <thaller@redhat.com> - 1.18.0-2
- depend ModemManager on polkit package
* Sun Sep 12 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.18.0-1
- Update to 1.18.0