Ana Guerrero 2024-01-28 18:42:08 +00:00 committed by Git OBS Bridge
commit d910df3ad6
8 changed files with 27 additions and 64 deletions

View File

@ -1,24 +0,0 @@
From 35041f4d9f06f94e4e408a3a12be237d4aa9ef44 Mon Sep 17 00:00:00 2001
From: Sebastian Freundt <freundt@ga-group.nl>
Date: Mon, 12 Dec 2022 08:01:42 +0000
Subject: [PATCH] test, revert, do not use Singapore for testing previous
transitions
---
test/dzone.008.ctst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/dzone.008.ctst b/test/dzone.008.ctst
index 758401b5..c8c9daa9 100644
--- a/test/dzone.008.ctst
+++ b/test/dzone.008.ctst
@@ -1,7 +1,7 @@
#!/usr/bin/clitosis ## -*- shell-script -*-
-$ dzone --prev Asia/Singapore 2014-02-22
-1981-12-31T23:30:00+07:30 <- 1982-01-01T00:00:00+08:00 Asia/Singapore
+$ dzone --prev Asia/Jakarta
+1964-01-01T00:00:00+07:30 <- 1963-12-31T23:30:00+07:00 Asia/Jakarta
$
## dzone.008.ctst ends here

View File

@ -1,25 +0,0 @@
From 841c635bf283e4b023bd98fbff9ebda1f340b024 Mon Sep 17 00:00:00 2001
From: Sebastian Freundt <freundt@ga-group.nl>
Date: Mon, 12 Dec 2022 07:53:31 +0000
Subject: [PATCH] test, follow tzdata's research on past transitions, fixes
issue #148
Singapore's 1981-12-31 change was at 16:00 UTC (23:30 local time),
not 24:00 local time. (Thanks to Geoff Clare via Robert Elz)
---
test/dzone.008.ctst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/dzone.008.ctst b/test/dzone.008.ctst
index 94d8017e..758401b5 100644
--- a/test/dzone.008.ctst
+++ b/test/dzone.008.ctst
@@ -1,7 +1,7 @@
#!/usr/bin/clitosis ## -*- shell-script -*-
$ dzone --prev Asia/Singapore 2014-02-22
-1982-01-01T00:00:00+07:30 <- 1982-01-01T00:30:00+08:00 Asia/Singapore
+1981-12-31T23:30:00+07:30 <- 1982-01-01T00:00:00+08:00 Asia/Singapore
$
## dzone.008.ctst ends here

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEABECAAYFAmKOHhUACgkQlMmhrILJOQ5tEwCfQ3Fd1Wu9eOWsujrlsrOwx83V
NAMAnihaMpu2xa5g7KgRpIlyjwpN26jC
=/ee+
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c508e2889b9d5aecab7d59d7325a70089593111a1230a496dab0f5ad677cdec
size 652548

7
dateutils-0.4.11.tar.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEABECAAYFAmWySBMACgkQlMmhrILJOQ55owCgilGTrE09vLzBkybOjR36PNv4
ixQAniJuiTX9gMopqoBTTc2LLzM65GOw
=2Ex9
-----END PGP SIGNATURE-----

3
dateutils-0.4.11.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8fea0b09714bbadf202b9b3434cce6b59c282e7869268d0c08b85880fdbb446
size 670468

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jan 26 06:36:10 UTC 2024 - jun wang <jgwang@suse.com>
- Updat to version 0.4.11
* be strict about inputs in datetest --isvalid (#146)
* build on Macs again (#107)
* make illegible zone names fatal errors (#151)
* be strict in datetest --isvalid when inputs have been
specified (#146)
* fix issue with negative days remaining after adding months
in datediff (#153)
- Remove patches 841c635b.patch and 35041f4d.patch because
they have been applied in source code
-------------------------------------------------------------------
Mon Dec 19 13:45:39 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package dateutils
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: dateutils
Version: 0.4.10
Version: 0.4.11
Release: 0
Summary: Command line date and time utilities
License: BSD-3-Clause
@ -26,8 +26,6 @@ URL: https://github.com/hroptatyr/dateutils/
Source0: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.asc
Source2: %{name}.keyring
Patch0: https://github.com/hroptatyr/dateutils/commit/841c635b.patch
Patch1: https://github.com/hroptatyr/dateutils/commit/35041f4d.patch
BuildRequires: octave-devel
BuildRequires: pkgconfig
BuildRequires: timezone
@ -50,7 +48,7 @@ Requires: octave
Dateutils can be used from within matlab or ocatave.
%prep
%autosetup -p1
%setup -q
%build
%configure \