Avoid requiring systemd for systemd rpm scriptlets

There is no need to require systemd as systemd correctly handles
reloading regardless of the transaction ordering (even if systemd is
installed _after_ the package that installs the unit file).
This commit is contained in:
Kalev Lember 2021-10-01 13:50:41 +02:00
parent 38f5db7bc9
commit aef4224e21

View File

@ -1,6 +1,6 @@
Name: geoclue2
Version: 2.5.7
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Geolocation service
License: GPLv2+
@ -19,9 +19,6 @@ BuildRequires: ModemManager-glib-devel
BuildRequires: systemd
BuildRequires: vala
Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: dbus
Obsoletes: geoclue2-server < 2.1.8
@ -150,6 +147,9 @@ exit 0
%changelog
* Fri Oct 01 2021 Kalev Lember <klember@redhat.com> - 2.5.7-5
- Avoid requiring systemd for systemd rpm scriptlets
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild