Accepting request 446414 from utilities
1 OBS-URL: https://build.opensuse.org/request/show/446414 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=17
This commit is contained in:
commit
5ba5cd0522
@ -1,86 +0,0 @@
|
||||
From 98a8df78e1668f05df86b250c4ad12efb7490b24 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Freundt <freundt@ga-group.nl>
|
||||
Date: Wed, 15 Jun 2016 09:26:02 +0000
|
||||
Subject: [PATCH] Revert "chore, be more portable in sxe-matlab.m4"
|
||||
|
||||
This reverts commit 471c813a4fb6d26f828cd7c191cfd1ec478a2bd8.
|
||||
|
||||
This makes the matlab detection fail on systems with older shells.
|
||||
|
||||
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
|
||||
---
|
||||
m4/sxe-matlab.m4 | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/m4/sxe-matlab.m4 b/m4/sxe-matlab.m4
|
||||
index 77fc708..5f1099e 100644
|
||||
--- a/m4/sxe-matlab.m4
|
||||
+++ b/m4/sxe-matlab.m4
|
||||
@@ -3,10 +3,10 @@ AC_DEFUN([SXE_CHECK_MATLAB], [dnl
|
||||
foo=`mktemp /tmp/sxe_check_matlab.XXXXXXXXXX`
|
||||
|
||||
AC_ARG_VAR([MATLAB], [full path to matlab binary])
|
||||
- sxe_cv_matlab="${MATLAB-matlab}"
|
||||
+ sxe_cv_matlab="${MATLAB:-matlab}"
|
||||
|
||||
AC_ARG_VAR([MATLABPATH], [path to matlab toolboxes])
|
||||
- sxe_cv_matlabpath="${MATLABPATH-no}"
|
||||
+ sxe_cv_matlabpath="${MATLABPATH:-no}"
|
||||
|
||||
AC_MSG_CHECKING([for matlab root])
|
||||
## assume no matlab
|
||||
@@ -35,9 +35,9 @@ AC_DEFUN([SXE_CHECK_MATLAB], [dnl
|
||||
|
||||
AC_MSG_CHECKING([for matlab mex file extension])
|
||||
sxe_cv_mexext=`"${MATLABROOT}/bin/mexext" 2>/dev/null`
|
||||
- MEXEXT="${sxe_cv_mexext-mex}"
|
||||
+ MEXEXT="${sxe_cv_mexext:-mex}"
|
||||
AC_SUBST([MEXEXT])
|
||||
- AC_MSG_RESULT([${sxe_cv_mexext-mex (assumed)}])
|
||||
+ AC_MSG_RESULT([${sxe_cv_mexext:-mex (assumed)}])
|
||||
|
||||
## now reset *our* idea of what MATLAB should be
|
||||
MATLAB="${sxe_cv_matlab}"
|
||||
@@ -70,7 +70,7 @@ AC_DEFUN([SXE_CHECK_OCTAVE], [dnl
|
||||
AC_ARG_VAR([octave_LIBS], [library directives for octave linking])
|
||||
|
||||
AC_ARG_VAR([OCTAVEPATH], [path to octave toolboxes])
|
||||
- sxe_cv_octavepath="${OCTAVEPATH-no}"
|
||||
+ sxe_cv_octavepath="${OCTAVEPATH:-no}"
|
||||
|
||||
## prep the octave extension path, this is twofold
|
||||
AC_PATH_PROG([OCTAVE_CONFIG], [octave-config])
|
||||
--
|
||||
1.8.5.6
|
||||
|
||||
--- dateutils-0.4.0.orig/configure 2016-05-20 10:26:30.000000000 +0200
|
||||
+++ dateutils-0.4.0/configure 2016-06-15 11:46:51.339401361 +0200
|
||||
@@ -10376,10 +10396,10 @@
|
||||
foo=`mktemp /tmp/sxe_check_matlab.XXXXXXXXXX`
|
||||
|
||||
|
||||
- sxe_cv_matlab="${MATLAB-matlab}"
|
||||
+ sxe_cv_matlab="${MATLAB:-matlab}"
|
||||
|
||||
|
||||
- sxe_cv_matlabpath="${MATLABPATH-no}"
|
||||
+ sxe_cv_matlabpath="${MATLABPATH:-no}"
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for matlab root" >&5
|
||||
$as_echo_n "checking for matlab root... " >&6; }
|
||||
@@ -10413,10 +10433,10 @@
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for matlab mex file extension" >&5
|
||||
$as_echo_n "checking for matlab mex file extension... " >&6; }
|
||||
sxe_cv_mexext=`"${MATLABROOT}/bin/mexext" 2>/dev/null`
|
||||
- MEXEXT="${sxe_cv_mexext-mex}"
|
||||
+ MEXEXT="${sxe_cv_mexext:-mex}"
|
||||
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_cv_mexext-mex (assumed)}" >&5
|
||||
-$as_echo "${sxe_cv_mexext-mex (assumed)}" >&6; }
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_cv_mexext:-mex (assumed)}" >&5
|
||||
+$as_echo "${sxe_cv_mexext:-mex (assumed)}" >&6; }
|
||||
|
||||
## now reset *our* idea of what MATLAB should be
|
||||
MATLAB="${sxe_cv_matlab}"
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d05af02bc60a82bdc21c0ac4779f1040f631b0a1233ed15c4f69a80d3dad23da
|
||||
size 608364
|
3
dateutils-0.4.1.tar.xz
Normal file
3
dateutils-0.4.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ccce48975fc4d3af2e27c7893e181c46ab5df1cb37e4a428b4b521a77d55278
|
||||
size 611460
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 10:27:50 UTC 2016 - sweet_f_a@gmx.de
|
||||
|
||||
- bump version 0.4.1, this is a bugfix release.
|
||||
* Bugfixes:
|
||||
- bug/50, keep end-of-term (ultimo) property in dateseq(1)
|
||||
- allow today/now for ywd dates in 1 parameter dateseq(1)
|
||||
- allow different calendars for start and end date in dateseq(1)
|
||||
- round time in dateround(1) in zone then convert --from-zone
|
||||
- allow SPC padded numerals in %d input format
|
||||
* See info page examples and/or README.
|
||||
- remove patch which is upstream now:
|
||||
0001-Revert-chore-be-more-portable-in-sxe-matlab.m4.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 15 10:06:41 UTC 2016 - sweet_f_a@gmx.de
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define xversion 0.4.0
|
||||
%define xversion 0.4.1
|
||||
|
||||
%define have_octave 0
|
||||
|
||||
@ -39,15 +39,13 @@
|
||||
%endif
|
||||
|
||||
Name: dateutils
|
||||
Version: 0.4.0
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: Nifty command line date and time utilities
|
||||
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
|
||||
Patch1: 0001-Revert-chore-be-more-portable-in-sxe-matlab.m4.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version}
|
||||
@ -80,7 +78,6 @@ Dateutils can be used from within matlab or ocatave.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{xversion}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user