Fixup ldconfig scriptlets

%ldconfig is not defined on F28+, so it's evaluated to "%ldconfig" as is
which is not valid shell command..

Fixes:
/var/tmp/rpm-tmp.RKCplJ: line 1: fg: no job control

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-03-05 08:30:43 +01:00
parent 7efb84a56a
commit ef16d7d1e2
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -36,7 +36,7 @@
Name: pulseaudio
Summary: Improved Linux Sound Server
Version: %{pa_major}%{?pa_minor:.%{pa_minor}}
Release: 14%{?snap:.%{snap}git%{shortcommit}}%{?dist}
Release: 15%{?snap:.%{snap}git%{shortcommit}}%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PulseAudio
%if 0%{?gitrel}
@ -454,7 +454,7 @@ exit 0
) ||:
%post
%ldconfig
%{?ldconfig}
%if 0%{?systemd_activation}
%systemd_user_post pulseaudio.service
%systemd_user_post pulseaudio.socket
@ -698,6 +698,9 @@ exit 0
%changelog
* Mon Mar 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 11.1-15
- Fixup ldconfig scriptlets
* Thu Mar 01 2018 Rex Dieter <rdieter@fedoraproject.org> - 11.1-14
- use %%make_build, %%make_install
- enable systemd socket/service activation on f28+ (and disable autospawn)