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 fixes fedora flatpak runtime build where zvbi got added to due to
ffmpeg dependency changes.
epel10^2^2
Kalev Lember 2 years ago
parent e2a7bba847
commit 5add315208

@ -3,7 +3,7 @@
Name: zvbi Name: zvbi
Version: 0.2.35 Version: 0.2.35
Release: 18%{?dist} Release: 19%{?dist}
Summary: Raw VBI, Teletext and Closed Caption decoding library Summary: Raw VBI, Teletext and Closed Caption decoding library
# See NEWS for a full breakdown of licensing. # See NEWS for a full breakdown of licensing.
License: LGPLv2+ and GPLv2+ and BSD License: LGPLv2+ and GPLv2+ and BSD
@ -23,10 +23,6 @@ BuildRequires: bdftopcf
BuildRequires: mkfontdir BuildRequires: mkfontdir
BuildRequires: systemd-units BuildRequires: systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%description %description
ZVBI provides functions to capture and decode VBI data. The vertical blanking ZVBI provides functions to capture and decode VBI data. The vertical blanking
@ -162,6 +158,9 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%changelog %changelog
* Sun Feb 05 2023 Kalev Lember <klember@redhat.com> - 0.2.35-19
- Avoid requiring systemd for systemd rpm scriptlets
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-18 * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save