Name: ModemManager-nosuspend Version: 0.3 Release: 1%{?dist} Summary: ModemManager systemd script for mobile devices needing nosuspend on modem License: Free as a bird URL: http://www.freedesktop.org/wiki/Software/ModemManager/ Source: https://www9.warpspeed.dk/ModemManager-nosuspend.zip Requires: ModemManager >= 1.22.1 %description The ModemManager service manages WWAN modems and provides a consistent API for interacting with these devices to client applications. This package overrides the ModemManager startup script to make ModemManager run with nosuspend option. %global debug_package %{nil} %prep %autosetup -p1 %install mkdir -p $RPM_BUILD_ROOT/etc/systemd/system cp ModemManager.service $RPM_BUILD_ROOT/etc/systemd/system %post systemctl daemon-reload systemctl stop ModemManager.service systemctl disable ModemManager.service systemctl enable ModemManager.service systemctl start ModemManager.service %files %{_sysconfdir}/systemd/system/ModemManager.service %changelog * Mon Dec 02 2024 Yoda - 0.3-1 - Match ModemManager 1.22/1.24 - Disable normal MM service to switch - over to out new one. * Wed Mar 13 2024 Yoda - 0.2-2 - No change - just a COPR refresh * Mon Oct 18 2021 Yoda - 0.2-1 - Update command string * Thu Jul 22 2021 Yoda - 0.1-1 - Initial version 0.1