[newlisp/f17] modified: newlisp.spec
ndowens
ndowens at fedoraproject.org
Mon Apr 9 00:11:24 UTC 2012
commit e066959d937cfed672e6438f8bbb38977a6762de
Author: Nathan Owens <ndowens04 at gmail.com>
Date: Sun Apr 8 19:11:09 2012 -0500
modified: newlisp.spec
newlisp.spec | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/newlisp.spec b/newlisp.spec
index 6f1f170..4b4076a 100644
--- a/newlisp.spec
+++ b/newlisp.spec
@@ -9,7 +9,7 @@ Source0: http://www.newlisp.org/downloads/%{name}-%{version}.tgz
Patch0: %{name}-0002-Allow-to-override-CFLAGS.patch
Patch1: %{name}-0003-Don-t-strip-the-resulting-binary.patch
BuildRequires: readline-devel
-
+BuildRequires: libffi-devel
%description
Lisp-like general purpose scripting language. %{name} is well suited for
@@ -21,10 +21,17 @@ applications.
%patch0 -p1 -b .CFLAGS-override
%patch1 -p1 -b .stop-binary-strip
-
%build
%configure
-CFLAGS="%{optflags} -c -DREADLINE -DSUPPORT_UTF8 -DLINUX" make %{?_smp_mflags}
+
+%ifarch x86_64
+CFLAGS="%{optflags} -c -DREADLINE -DSUPPORT_UTF8 -DLINUX" \
+ make -f makefile_linuxLP64 %{?_smp_mflags}
+%endif
+%ifarch %{ix86}
+CFLAGS="%{optflags} -c -DREADLINE -DSUPPORT_UTF8 -DLINUX" \
+ make -f makefile_linux %{?_smp_mflags}
+%endif
%install
rm -rf %{buildroot}
@@ -47,7 +54,7 @@ make install_home HOME=%{buildroot}/usr/
%changelog
-* Sat Feb 25 2012 Nathan Owe <ndowens at fedoraproject.org> 10.4.0-1
+* Sat Apr 07 2012 Nathan Owe <ndowens at fedoraproject.org> 10.4.0-1
- Updated version
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 10.3.5-3
More information about the scm-commits
mailing list