From 77398a607fe09f49f40349bce398661c43e77143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 19 Jun 2018 20:09:51 +0200 Subject: RPM: avoid linking to libmad on non-x86 architectures --- redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec') diff --git a/redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec b/redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec index 4a4f9f433..397314c05 100644 --- a/redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec +++ b/redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec @@ -91,7 +91,7 @@ BuildRequires: taglib-devel # AKODE support %if 0%{?with_akode} BuildRequires: trinity-akode-devel -%{?with_mad:BuildRequires: trinity-akode-libmad} +%{?with_libmad:BuildRequires: trinity-akode-libmad} %endif # ZLIB support @@ -869,7 +869,7 @@ This package contains akode plugins for aRts. %{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass # Requires MAD support -%{?with_mad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} +%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} %post -n trinity-libarts-akode /sbin/ldconfig -- cgit v1.2.1