Accepting request 352744 from home:1Antoine1:branches:utilities
- Fix build: * add dateutils-0.3.4-fix-test-126.patch (from upstream) OBS-URL: https://build.opensuse.org/request/show/352744 OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=41
This commit is contained in:
parent
d1b5fd3427
commit
a7ab6eed4e
23
dateutils-0.3.4-fix-test-126.patch
Normal file
23
dateutils-0.3.4-fix-test-126.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From 3e1c9a3768c4837ac812230c89fd89043eebeb2c Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Freundt <freundt@ga-group.nl>
|
||||
Date: Fri, 8 Jan 2016 06:38:43 +0000
|
||||
Subject: [PATCH] test, fix, it's 2016
|
||||
|
||||
---
|
||||
test/dconv.126.clit | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/dconv.126.clit b/test/dconv.126.clit
|
||||
index 80f8e74..a852056 100644
|
||||
--- a/test/dconv.126.clit
|
||||
+++ b/test/dconv.126.clit
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/clitoris ## -*- shell-script -*-
|
||||
|
||||
-$ dconv -i '%_b%_y' K5 -f '%Y-%m'
|
||||
-2015-05
|
||||
+$ dconv -i '%_b%_y' K7 -f '%Y-%m'
|
||||
+2017-05
|
||||
$ dconv -i '%_b%_y' Z2 -f '%Y-%m'
|
||||
2022-12
|
||||
$
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 10:11:42 UTC 2016 - antoine.belvire@laposte.net
|
||||
|
||||
- Fix build:
|
||||
* add dateutils-0.3.4-fix-test-126.patch (from upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 08:39:17 UTC 2015 - sweet_f_a@gmx.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dateutils
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -46,6 +46,8 @@ License: BSD-3-Clause
|
||||
Group: Productivity/Text/Utilities
|
||||
Url: https://github.com/hroptatyr/dateutils/
|
||||
Source: https://bitbucket.org/hroptatyr/dateutils/downloads/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM dateutils-0.3.4-fix-test-126 -- Fix the test that was failing due to year change (from upstream)
|
||||
Patch: dateutils-0.3.4-fix-test-126.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version}
|
||||
@ -79,6 +81,7 @@ Dateutils can be used from within matlab or ocatave.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{xversion}
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user