[snobol] - fix build on non-x86 64-bit arches

Dan Horák sharkcz at fedoraproject.org
Sat Oct 6 10:27:53 UTC 2012


commit 09170f7f931c9d2c5df2c86d0e729e724a2fd9fb
Author: Dan Horák <dan at danny.cz>
Date:   Sat Oct 6 06:31:22 2012 -0400

    - fix build on non-x86 64-bit arches

 snobol.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/snobol.spec b/snobol.spec
index 9a2c91f..5d2d176 100644
--- a/snobol.spec
+++ b/snobol.spec
@@ -4,7 +4,7 @@
 
 Name:           snobol
 Version:        4.%{snobrel}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The SNOBOL programming language
 
 Group:          Development/Languages
@@ -13,7 +13,9 @@ License:        BSD
 URL:            http://www.snobol4.org
 Source0:        ftp://ftp.ultimate.com/%{name}/%{name}4-%{snobrel}.tar.gz
 Patch1:         snobol-4.1.4.1-makefile.patch
-Patch2:		snobol-4.1.4.1-doc.patch
+Patch2:         snobol-4.1.4.1-doc.patch
+# we can assume that the build system chroots are pure 32bit or 64bit
+Patch3:         snobol-4.1.4.1-64bit.patch
 
 BuildRequires:  tcl-devel
 BuildRequires:  gdbm-devel
@@ -43,6 +45,7 @@ external SNOBOL modules in C
 %setup -q -n %{name}4-%{snobrel}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
@@ -71,6 +74,9 @@ mv ${RPM_BUILD_ROOT}/%{_datadir}/snobol4/*.h \
 %{_includedir}/snobol4/
 
 %changelog
+* Sat Oct  6 2012 Dan Horák <dan[at]danny.cz> - 4.1.4.1-2
+- fix build on non-x86 64-bit arches
+
 * Fri Oct  5 2012 Jochen Schmitt <Jochen herr-schmitt de> - 4.1.4.1-1
 - New upstream release
 - Clean up package


More information about the scm-commits mailing list