enable polkit support to allow normal users to access modems
See-also: https://bugzilla.redhat.com/show_bug.cgi?id=1995186
See-also: https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/583#note_1214119
Taken from Fedora patch ([1]).
[1] 620ae5623e
Resolves: #1995186
This commit is contained in:
parent
0941cf19c6
commit
2c31de07cd
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: ModemManager
|
Name: ModemManager
|
||||||
Version: 1.14.10
|
Version: 1.14.10
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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/
|
||||||
@ -38,6 +38,7 @@ BuildRequires: libqmi-devel >= 1.26.0
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: systemd-devel >= 209
|
BuildRequires: systemd-devel >= 209
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
|
BuildRequires: polkit-devel
|
||||||
|
|
||||||
%global __provides_exclude ^libmm-plugin-
|
%global __provides_exclude ^libmm-plugin-
|
||||||
|
|
||||||
@ -100,7 +101,7 @@ autoreconf -vif
|
|||||||
--with-qmi=yes \
|
--with-qmi=yes \
|
||||||
--with-mbim=yes \
|
--with-mbim=yes \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-polkit=no \
|
--with-polkit=permissive \
|
||||||
--with-dist-version=%{version}-%{release}
|
--with-dist-version=%{version}-%{release}
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
@ -136,6 +137,7 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%attr(0755,root,root) %{_libdir}/%{name}/*.so*
|
%attr(0755,root,root) %{_libdir}/%{name}/*.so*
|
||||||
%{_udevrulesdir}/*
|
%{_udevrulesdir}/*
|
||||||
|
%{_datadir}/polkit-1/actions/*.policy
|
||||||
%{_unitdir}/ModemManager.service
|
%{_unitdir}/ModemManager.service
|
||||||
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
||||||
%{_datadir}/bash-completion
|
%{_datadir}/bash-completion
|
||||||
@ -168,6 +170,9 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
%{_datadir}/vala/vapi/libmm-glib.*
|
%{_datadir}/vala/vapi/libmm-glib.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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)
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.10-4
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.10-4
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user