From 00ead5b5eb6a4525c85bf9c4f8edec2985c90a78 Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Sat, 16 Jul 2011 22:59:46 +0200 Subject: [PATCH] dont install bdj_test when not building java subpackage --- libbluray.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libbluray.spec b/libbluray.spec index 5566bc8..6a2c4a6 100644 --- a/libbluray.spec +++ b/libbluray.spec @@ -93,8 +93,11 @@ install -Dp -m 644 src/.libs/libbluray.jar $RPM_BUILD_ROOT%{_javadir}/libbluray # Install test utilities for i in clpi_dump index_dump mobj_dump mpls_dump sound_dump do install -Dp -m 0755 src/examples/$i $RPM_BUILD_ROOT%{_bindir}/$i; done; -for i in bd_info bdj_test bdsplice hdmv_test libbluray_test list_titles +for i in bd_info bdsplice hdmv_test libbluray_test list_titles do install -Dp -m755 src/examples/.libs/$i %{buildroot}%{_bindir}/$i; done +%ifnarch ppc64 +install -Dp -m755 src/examples/.libs/bdj_test %{buildroot}%{_bindir}/bdj_test; +%endif %clean