[packages/tzdata] Up to 2026d

arekm arekm at pld-linux.org
Fri Sep 25 11:13:08 CEST 2026


commit efab97c2d3e97e9788a9e8a5deeb21d2be828215
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Sep 25 10:56:49 2026 +0200

    Up to 2026d
    
    Test suite needs 64bit arithmetic capable shell (bash is used)

 install.patch | 11 -----------
 tzdata.spec   | 19 ++++++++++---------
 2 files changed, 10 insertions(+), 20 deletions(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index 4706efb..574d5a2 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -17,21 +17,20 @@
 Summary:	Timezone data
 Summary(pl.UTF-8):	Dane o strefach czasowych
 Name:		tzdata
-Version:	2026c
+Version:	2026d
 Release:	1
 License:	Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:		Base
 #Source0Download: https://www.iana.org/time-zones
 Source0:	https://data.iana.org/time-zones/releases/tzdb-%{version}.tar.lz
-# Source0-md5:	b20a51bf4c062509d35f377a99a52507
+# Source0-md5:	3757cc70c10ca495d0b5180435a11e78
 Source3:	timezone.init
 Source4:	timezone.sysconfig
 Source5:	javazic.tar.gz
 # Source5-md5:	6a3392cd5f1594d13c12c1a836ac8d91
 Patch0:		disable-network-tests.patch
 Patch1:		javazic-fixup.patch
-Patch2:		install.patch
-URL:		http://www.twinsun.com/tz/tz-link.htm
+URL:		https://www.iana.org/time-zones
 BuildRequires:	lzip
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 2.021
@@ -40,6 +39,9 @@ BuildRequires:	rpmbuild(macros) >= 2.021
 BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
 %endif
+%if %{with tests}
+BuildRequires:	bash
+%endif
 Requires(post,preun,postun):	systemd-units >= 38
 Requires:	%{name}-zoneinfo = %{version}-%{release}
 Requires:	/sbin/chkconfig
@@ -186,13 +188,12 @@ install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_mandir}/man5,%{_inclu
 %if %{with tests}
 # test needs to be ran after "make install", as it uses installed files
 
-# FIXME: now.ck test fails with many "zones ... and ... identical from now on"
-# for now (2025c) run only "check_mild back.ck" instead of full "check"
-
 : ====================TESTING=========================
-%{__make} check_mild back.ck \
+# now.ck computes timestamps past 2^31 in $(( )), mksh arithmetic is 32-bit
+%{__make} check \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} %{rpmldflags}"
+	CFLAGS="%{rpmcflags} %{rpmldflags}" \
+	SHELL=/bin/bash
 : ====================TESTING END=====================
 %endif
 
diff --git a/install.patch b/install.patch
deleted file mode 100644
index d1321fb..0000000
--- a/install.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- tzdata-2011i/Rules~	2003-07-24 19:52:34.000000000 +0300
-+++ tzdata-2011i/Rules	2011-08-30 15:02:18.371907715 +0300
-@@ -10,7 +10,7 @@
- endef
- define do-install
- $(make-target-directory)
--/usr/bin/install -m 644 $< $@
-+/usr/bin/install -p -m 644 $< $@
- endef
- install: $(inst_zonedir)/
- 	$(MAKE) install-data
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/efab97c2d3e97e9788a9e8a5deeb21d2be828215



More information about the pld-cvs-commit mailing list