Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package chezscheme for openSUSE:Factory 
checked in at 2025-04-22 17:27:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chezscheme (Old)
 and      /work/SRC/openSUSE:Factory/.chezscheme.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chezscheme"

Tue Apr 22 17:27:49 2025 rev:5 rq:1271137 version:10.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/chezscheme/chezscheme.changes    2025-01-19 
21:50:26.249043596 +0100
+++ /work/SRC/openSUSE:Factory/.chezscheme.new.30101/chezscheme.changes 
2025-04-22 17:28:39.800040534 +0200
@@ -1,0 +2,6 @@
+Sun Apr 20 17:23:43 UTC 2025 - Christian Boltz <suse-b...@cboltz.de>
+
+- build for all architectures, not only x86_64
+- use system liblz4 and zlib
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chezscheme.spec ++++++
--- /var/tmp/diff_new_pack.t2HbdR/_old  2025-04-22 17:28:40.596073962 +0200
+++ /var/tmp/diff_new_pack.t2HbdR/_new  2025-04-22 17:28:40.596073962 +0200
@@ -26,13 +26,14 @@
 License:        Apache-2.0 AND BSD-2-Clause AND GPL-2.0-only AND Zlib AND 
SUSE-GPL-2.0-with-linking-exception
 Group:          Development/Languages/Scheme
 Source0:        %{chezscheme}-v%{version}.%{srcext}
-ExclusiveArch:  x86_64
 URL:            https://cisco.github.io/ChezScheme/
 BuildRequires:  fdupes
 BuildRequires:  libX11-devel
+BuildRequires:  liblz4-devel
 BuildRequires:  libuuid-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  unzip
+BuildRequires:  zlib-devel
 
 %description
 Chez Scheme is an implementation of the Revised6 Report on Scheme (R6RS) with 
numerous language and programming environment extensions.
@@ -47,6 +48,8 @@
 %prep
 cd %{_builddir}
 %setup -q -n %{chezscheme}-v%{version}
+# use system libs
+rm -r lz4 zlib
 
 # Patch the Makefile
 # sed -i 's/-Werror//' ./c/Mf-ta6le
@@ -54,15 +57,28 @@
 sed -i 's/xlocale\.h/locale.h/' ./c/expeditor.c
 
 %build
+# from 
https://src.fedoraproject.org/rpms/chez-scheme/blob/rawhide/f/chez-scheme.spec
+case %{_arch} in
+     x86_64) MACHINE=-m=ta6le ;;
+     i686) MACHINE=-m=ti3le ;;
+     aarch64) MACHINE=-m=tarm64le ;;
+     riscv64) MACHINE=-m=trv64le ;;
+     *) MACHINE=--pb ;;
+esac
+
+./configure --installprefix=/usr  --temproot=%{buildroot} --threads $MACHINE  
ZLIB=-lz LZ4=-llz4
 
-./configure --installprefix=/usr  --temproot=%{buildroot} --threads
 %make_build
 
 %install
 %makeinstall
-# Fix incorrect symlink
-rm %{buildroot}/usr/lib/csv%{version}/ta6le/scheme-script.boot
-ln -s "/usr/lib/csv%{version}/ta6le/scheme.boot" 
"%{buildroot}/usr/lib/csv%{version}/ta6le/scheme-script.boot"
+
+# de-duplicate scheme-script.boot and scheme.boot
+br_s_script=$(find %{buildroot} -name scheme-script.boot)
+s_boot=$(cd %{buildroot} && find usr -name scheme.boot)
+rm "$br_s_script"
+ln -s "/$s_boot" "$br_s_script"
+
 %fdupes %{buildroot}
 
 %files

Reply via email to