[xa] - updated to version 2.3.7 - enable test-suite

Dan Horák sharkcz at fedoraproject.org
Sat Jan 3 15:11:52 UTC 2015


commit f70f234ed6eb65f2b0a9f015d43480c4afaecbb5
Author: Dan Horák <dan at danny.cz>
Date:   Sat Jan 3 16:12:00 2015 +0100

    - updated to version 2.3.7
    - enable test-suite

 xa-2.3.5-make.patch => xa-2.3.7-make.patch |   27 +++++----------------------
 xa.spec                                    |   12 ++++++++++--
 2 files changed, 15 insertions(+), 24 deletions(-)
---
diff --git a/xa-2.3.5-make.patch b/xa-2.3.7-make.patch
similarity index 51%
rename from xa-2.3.5-make.patch
rename to xa-2.3.7-make.patch
index 692394b..780d3bb 100644
--- a/xa-2.3.5-make.patch
+++ b/xa-2.3.7-make.patch
@@ -1,7 +1,7 @@
-diff -Nup xa-2.3.5.orig/Makefile xa-2.3.5/Makefile
---- xa-2.3.5.orig/Makefile	2009-02-08 07:49:30.000000000 +0100
-+++ xa-2.3.5/Makefile	2009-04-02 11:18:47.000000000 +0200
-@@ -15,11 +15,12 @@ LDFLAGS = -lc
+diff -up xa-2.3.7/Makefile.make xa-2.3.7/Makefile
+--- xa-2.3.7/Makefile.make	2014-12-27 19:45:21.000000000 +0100
++++ xa-2.3.7/Makefile	2015-01-03 15:36:18.000000000 +0100
+@@ -17,11 +17,12 @@ LDFLAGS = -lc
  #CFLAGS =
  #LD = ld
  
@@ -18,24 +18,7 @@ diff -Nup xa-2.3.5.orig/Makefile xa-2.3.5/Makefile
  
  MKDIR = mkdir -p
  INSTALL = install
-@@ -27,13 +28,13 @@ INSTALL = install
- all: xa uncpk
- 
- xa:
--	(cd src && LD=${LD} CC="${CC} ${CFLAGS}" ${MAKE})
-+	(cd src && LD=${LD} CC="${CC}" CFLAGS="${CFLAGS}" ${MAKE})
- 
- load:	
--	(cd loader && CC="${CC} ${CFLAGS}" ${MAKE})
-+	(cd loader && CC="${CC}" CFLAGS="${CFLAGS}" ${MAKE})
- 
- uncpk:
--	(cd misc && CC="${CC} ${CFLAGS}" ${MAKE})
-+	(cd misc && CC="${CC}" CFLAGS="${CFLAGS}" ${MAKE})
- 
- dos: clean
- 	(cd src && LD=gcc-go32 CC=gcc-go32 CFLAGS="-W -Wall -pedantic" ${MAKE})
-@@ -53,8 +54,8 @@ clean:
+@@ -58,8 +59,8 @@ clean:
  install: xa uncpk
  	$(MKDIR) $(BINDIR)
  	$(MKDIR) $(MANDIR)
diff --git a/xa.spec b/xa.spec
index 21e006b..1c64a21 100644
--- a/xa.spec
+++ b/xa.spec
@@ -1,5 +1,5 @@
 Name:           xa
-Version:        2.3.6
+Version:        2.3.7
 Release:        1%{?dist}
 Summary:        6502/65816 cross-assembler
 
@@ -8,7 +8,7 @@ License:        GPLv2+
 URL:            http://www.floodgap.com/retrotech/xa/
 Source0:        http://www.floodgap.com/retrotech/%{name}/dists/%{name}-%{version}.tar.gz
 # update the build system, reported in private email
-Patch0:         %{name}-2.3.5-make.patch
+Patch0:         %{name}-2.3.7-make.patch
 
 
 %description
@@ -45,6 +45,10 @@ done
 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
 
 
+%check
+make test
+
+
 %install
 make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} INSTALL="install -p"
 
@@ -56,6 +60,10 @@ make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} INSTALL="install -p"
 
 
 %changelog
+* Sat Jan 03 2015 Dan Horák <dan[at]danny.cz> - 2.3.7-1
+- updated to version 2.3.7
+- enable test-suite
+
 * Mon Nov 17 2014 Dan Horák <dan[at]danny.cz> - 2.3.6-1
 - updated to version 2.3.6
 


More information about the scm-commits mailing list