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

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


commit c065c38ac9eafec39b7513f021428e8d7c1491a8
Author: Dan Horák <dan at danny.cz>
Date:   Fri Jan 20 18:18:04 2012 +0100

    fix build on non-x86 64-bit arches

 lv2-abGate.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/lv2-abGate.spec b/lv2-abGate.spec
index c220196..2e2db21 100644
--- a/lv2-abGate.spec
+++ b/lv2-abGate.spec
@@ -1,7 +1,7 @@
 %global pname abGate
 Name:           lv2-abGate
 Version:        1.1.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        An LV2 Noice Gate
 
 Group:          Applications/Multimedia
@@ -18,7 +18,7 @@ A Noise Gate plugin
 %prep
 %setup -q -n %{pname}-%{version}
 sed -i -e 's|-O3|%{optflags}|' Makefile
-%ifarch x86_64
+%if %{_lib} == "lib64"
    sed -i -e 's|\/lib|\/lib64|' Makefile plugin_configuration.h
 %endif
 
@@ -44,6 +44,9 @@ make install DESTDIR=%{buildroot}
 
 
 %changelog
+* Fri Jan 20 2012 Dan Horák <dan[at]danny.cz> 1.1.3-3
+- fix build on non-x86 64-bit arches
+
 * Fri Jan 6 2012 Brendan Jones <brendan.jones.it at gmail.com> 1.1.3-2
 - Removed lv2config
 


More information about the scm-commits mailing list