From 671919f3cc0490aee6e8cc8b52bf32731a9c04a4 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Sat, 31 Jul 2010 16:33:14 +0700 Subject: [PATCH 04/10] mpd.sec: fixed FTBFS with disabled mad support. --- mpd.spec | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mpd.spec b/mpd.spec index e815bcc..877db2d 100644 --- a/mpd.spec +++ b/mpd.spec @@ -157,8 +157,10 @@ This package contains %Name's API documentation. [ $(rpmvercmp %{get_version libflac-devel} 1.1.3) -lt 0 ] || subst 's/AM_PATH_LIBOGGFLAC/AM_PATH_LIBFLAC/' configure.ac %endif +%if_enabled mad # libmad.pc describes 'libmad', not 'mad' %__subst 's/\[mad\]/[libmad]/' configure.ac +%endif %build -- 1.6.5.7