The package rpms/jimtcl.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/jimtcl.git/commit/?id=0174b82554d....
Change:
+%ifarch s390x # zlib test fails on s390x
Thanks.
Full change:
============
commit 0174b82554db4a93457079a2eb6898742247b673
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Mon Feb 27 20:59:48 2023 -0600
Properly disable zlib extension on s390x
- move README files meant for programming with jimtcl to main package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/jimtcl.spec b/jimtcl.spec
index 758cc98..40f196d 100644
--- a/jimtcl.spec
+++ b/jimtcl.spec
@@ -19,10 +19,7 @@ BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(SDL2_gfx)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(sqlite3)
-%ifnarch s390x
-# zlib test fails on s390x
BuildRequires: pkgconfig(zlib)
-%endif
%if %{with tests}
BuildRequires: hostname
%endif
@@ -64,8 +61,10 @@ export STRIP=strip
# see ./configure --extinfo for list
%configure --shared --disable-option-checking \
--allextmod \
- --docdir=%{_datadir}/doc/%{name} \
-# make %{?_smp_mflags}
+%ifarch s390x # zlib test fails on s390x
+ --without-ext=zlib \
+%endif
+ --docdir=%{_datadir}/doc/%{name}
%make_build
@@ -84,7 +83,8 @@ make test
%files
%license LICENSE
-%doc AUTHORS README
+%doc AUTHORS README README.ensemble README.extensions README.namespaces
+%doc README.oo README.redis README.sqlite README.utf-8
%doc %{_datadir}/doc/%{name}/Tcl.html
%{_bindir}/jimdb
%{_bindir}/jimsh
@@ -95,7 +95,7 @@ make test
%files devel
-%doc DEVELOPING README.extensions README.metakit README.namespaces README.oo README.utf-8
STYLE
+%doc DEVELOPING STYLE
%{_includedir}/*
%{_bindir}/build-jim-ext
%{_libdir}/libjim.so
commit 33e8f9587c290a09229dbdd3cad0b9201ee436cb
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Mon Feb 27 20:36:43 2023 -0600
Update to 0.82
- enable more extensions
- update license to use SPDX
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 48b646b..f81146a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/jimtcl-0.81.tar.gz
+/jimtcl-0.82.tar.gz
diff --git a/jimtcl-lib64.patch b/jimtcl-lib64.patch
deleted file mode 100644
index 521c7d8..0000000
--- a/jimtcl-lib64.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -ruN jimtcl-0.81/auto.def jimtcl-lib64/auto.def
---- jimtcl-0.81/auto.def 2021-11-27 15:06:54.000000000 -0800
-+++ jimtcl-lib64/auto.def 2022-01-07 12:05:53.769713328 -0800
-@@ -271,7 +271,7 @@
- cc-check-lfs
- cc-check-functions fseeko ftello
-
--define TCL_LIBRARY [get-define prefix]/lib/jim
-+define TCL_LIBRARY [get-define libdir]/jim
-
- lassign [split [get-define host] -] host_cpu host_vendor host_os
- # Scrub revision from the host_os
-@@ -445,7 +445,7 @@
- }
- define VERSION [format %.2f [expr {[get-define JIM_VERSION] / 100.0}]]
- define LIBSOEXT [format [get-define SH_SOEXTVER] [get-define VERSION]]
--if {[get-define libdir] ni {/lib /usr/lib}} {
-+if {[get-define libdir] ni {/lib /usr/lib /usr/lib64}} {
- define SH_LINKRPATH_FLAGS [format [get-define SH_LINKRPATH] [get-define libdir]]
- } else {
- define SH_LINKRPATH_FLAGS ""
-diff -ruN jimtcl-0.81/build-jim-ext.in jimtcl-lib64/build-jim-ext.in
---- jimtcl-0.81/build-jim-ext.in 2021-11-27 15:06:54.000000000 -0800
-+++ jimtcl-lib64/build-jim-ext.in 2022-01-07 12:07:18.397171096 -0800
-@@ -41,7 +41,7 @@
- set cross 1
- }
- --install {
-- # Install to $DESTDIR/@prefix@/lib/jim
-+ # Install to $DESTDIR/@libdir@/jim
- set install 1
- }
- --static {
-@@ -225,7 +225,7 @@
- load ./$target
- }
- if {$install} {
-- set dest [env DESTDIR ""]@prefix@/lib/jim
-+ set dest [env DESTDIR ""]@libdir@/jim
- puts "Install: $target => $dest"
- file mkdir $dest
- file copy $target $dest/$target
diff --git a/jimtcl.spec b/jimtcl.spec
index 05fc170..758cc98 100644
--- a/jimtcl.spec
+++ b/jimtcl.spec
@@ -1,21 +1,24 @@
%bcond_without tests
Name: jimtcl
-Version: 0.81
+Version: 0.82
Release: %autorelease
Summary: A small embeddable Tcl interpreter
-License: BSD
+License: BSD-2-Clause-Views
URL:
http://jim.tcl.tk
Source0:
https://github.com/msteveb/%{name}/archive/%{version}/%{name}-%{version}....
-# support using lib64 instead of lib
-Patch0: %{name}-lib64.patch
BuildRequires: gcc-c++
BuildRequires: asciidoc
BuildRequires: make
# Extension dependencies
+BuildRequires: pkgconfig(hiredis)
+BuildRequires: pkgconfig(readline)
BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(SDL2_gfx)
+BuildRequires: pkgconfig(SDL2_ttf)
+BuildRequires: pkgconfig(sqlite3)
%ifnarch s390x
# zlib test fails on s390x
BuildRequires: pkgconfig(zlib)
@@ -69,9 +72,6 @@ export STRIP=strip
%install
%make_install INSTALL_DOCS=nodocs
rm %{buildroot}/%{_libdir}/jim/README.extensions
-pushd %{buildroot}/%{_libdir}/
-ln -s libjim.so.* libjim.so
-popd
%if %{with tests}
diff --git a/sources b/sources
index 8ff85cc..3bf99e6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jimtcl-0.81.tar.gz) =
5f798b15fd32673e2e2769e25c4dfeee43696e5bbd2d3ec3fd2f312fa49da9ef057fb4de81a10d3812dc07fb2e40ed79924b024e537e064d3213b10e06a416b6
+SHA512 (jimtcl-0.82.tar.gz) =
d0f8c8d515b9c7eee3ee2089a8fe9b8616b0541b7fca6b769132201c3a65a8216f9e8a333c6a3a4c2a8fa4754ab0c9d3c2bca3306b3b4db566d4f3e401a709fe
commit 1e5f867d724bbc899b7483121c950fcb21961770
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jan 19 13:47:24 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>