From ef16d7d1e29f44d92393007f2334a3211f7c0d53 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 5 Mar 2018 08:30:43 +0100 Subject: [PATCH] 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 --- pulseaudio.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pulseaudio.spec b/pulseaudio.spec index cfd1dea..55fae74 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -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 - 11.1-15 +- Fixup ldconfig scriptlets + * Thu Mar 01 2018 Rex Dieter - 11.1-14 - use %%make_build, %%make_install - enable systemd socket/service activation on f28+ (and disable autospawn)