[packages/xa] - updated to 2.4.1 - added make patch to avoid rebuilding xa on test or install

qboosh qboosh at pld-linux.org
Tue May 28 21:54:44 CEST 2024


commit a40ba643454b3133f5d859f0968b0af43d7dcf14
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 28 21:47:31 2024 +0200

    - updated to 2.4.1
    - added make patch to avoid rebuilding xa on test or install

 xa-make.patch | 21 +++++++++++++++++++++
 xa.spec       |  6 ++++--
 2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/xa.spec b/xa.spec
index 69ffc12..db370db 100644
--- a/xa.spec
+++ b/xa.spec
@@ -5,12 +5,13 @@
 Summary:	Cross-assembler for the 6502 and 65816 CPUs (and derivatives)
 Summary(pl.UTF-8):	Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych)
 Name:		xa
-Version:	2.3.14
+Version:	2.4.1
 Release:	1
 License:	GPL v2+
 Group:		Development/Languages
 Source0:	https://www.floodgap.com/retrotech/xa/dists/%{name}-%{version}.tar.gz
-# Source0-md5:	c708214bf5d79a6c9ac98424bf7840a5
+# Source0-md5:	86ef6e8562b2e30b55c41e835178aede
+Patch0:		%{name}-make.patch
 URL:		https://www.floodgap.com/retrotech/xa/
 %{?with_tests:BuildRequires:	perl-base}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,6 +28,7 @@ skompilować większością kompilatorów ANSI C.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} \
diff --git a/xa-make.patch b/xa-make.patch
new file mode 100644
index 0000000..861bbf3
--- /dev/null
+++ b/xa-make.patch
@@ -0,0 +1,21 @@
+--- xa-2.4.1/Makefile.orig	2024-01-10 07:16:03.000000000 +0100
++++ xa-2.4.1/Makefile	2024-05-28 21:44:22.385604018 +0200
+@@ -29,7 +29,7 @@ INSTALL = install
+ 
+ TESTS=ALL
+ 
+-all: killxa xa uncpk
++all: xa uncpk
+ 
+ killxa:
+ 	rm -f xa
+@@ -70,9 +70,6 @@ dist: clean
+ 
+ # no prereqs to force parallel make to play nice
+ test: 
+-	rm -rf xa
+-	$(MAKE) xa
+-	$(MAKE) uncpk
+ 	cd tests && ./harness \
+ 		-tests="$(TESTS)" \
+ 		-cc="$(CC)" -cflags="$(CFLAGS)"  \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xa.git/commitdiff/a40ba643454b3133f5d859f0968b0af43d7dcf14



More information about the pld-cvs-commit mailing list