Avoid requiring systemd as per updated packaging guidelines

There is no need to require systemd for the systemd scriptlets as
systemd correctly handles reloading depending on 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:09:44 +02:00
parent 22e5da24b0
commit a16560540f

View File

@ -1,6 +1,6 @@
Name: libcanberra Name: libcanberra
Version: 0.30 Version: 0.30
Release: 25%{?dist} Release: 26%{?dist}
Summary: Portable Sound Event Library Summary: Portable Sound Event Library
Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.xz Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.xz
Patch0: 0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch Patch0: 0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch
@ -21,9 +21,6 @@ BuildRequires: systemd-devel
BuildRequires: make BuildRequires: make
Requires: sound-theme-freedesktop Requires: sound-theme-freedesktop
Requires: pulseaudio-libs >= 0.9.15 Requires: pulseaudio-libs >= 0.9.15
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description %description
A small and lightweight implementation of the XDG Sound Theme Specification A small and lightweight implementation of the XDG Sound Theme Specification
@ -134,6 +131,9 @@ rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README
%{_datadir}/vala/vapi/libcanberra.vapi %{_datadir}/vala/vapi/libcanberra.vapi
%changelog %changelog
* Fri Oct 01 2021 Kalev Lember <klember@redhat.com> - 0.30-26
- Avoid requiring systemd as per updated packaging guidelines
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-25 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild