[lv2-kn0ck0ut] fix build on non-x86 64-bit arches

Dan Horák sharkcz at fedoraproject.org
Fri Jan 20 17:16:01 UTC 2012


commit 020bbf9c01b7a8ef13eac972fdc4ee3dc611af82
Author: Dan Horák <dan at danny.cz>
Date:   Fri Jan 20 18:15:57 2012 +0100

    fix build on non-x86 64-bit arches

 lv2-kn0ck0ut.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/lv2-kn0ck0ut.spec b/lv2-kn0ck0ut.spec
index aa14425..1789adc 100644
--- a/lv2-kn0ck0ut.spec
+++ b/lv2-kn0ck0ut.spec
@@ -2,7 +2,7 @@
 %global gitrev 60421a3
 Name:           lv2-kn0ck0ut
 Version:        1.1
-Release:        0.3.git%{gitrev}%{?dist}
+Release:        0.4.git%{gitrev}%{?dist}
 Summary:        An LV2 spectral subtraction plugin
 
 Group:          Applications/Multimedia
@@ -26,7 +26,7 @@ lv2_jack_host, or lv2file.
 %prep
 %setup -q 
 sed -i -e 's|-O3|%{optflags}|' Makefile
-%ifarch x86_64
+%if %{_lib} == "lib64"
    sed -i -e 's|\/lib|\/lib64|' Makefile
 %endif
 
@@ -42,6 +42,9 @@ make install DESTDIR=%{buildroot}
 %{_libdir}/lv2/%{pname}.lv2/*
 
 %changelog
+* Fri Jan 20 2012 Dan Horák <dan[at]danny.cz> 1.1-0.4.git60421a3
+- fix build on non-x86 64-bit arches
+
 * Tue Jan 10 2012 Brendan Jones <brendan.jones.it at gmail.com> 1.1-0.3.git60421a3
 - git commit containing license clarification 
 


More information about the scm-commits mailing list