Dominique Leuenberger 2021-01-04 18:09:14 +00:00 committed by Git OBS Bridge
commit 6902bde3c3
3 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,11 @@
diff -Naur a/build-aux/yuck.c b/build-aux/yuck.c
--- a/build-aux/yuck.c 2020-02-03 06:52:59.000000000 -0600
+++ b/build-aux/yuck.c 2020-12-18 18:23:04.505541977 -0600
@@ -65,7 +65,6 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/sysctl.h>
#include <time.h>
#if defined __APPLE__
# include <mach-o/dyld.h>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 19 00:28:09 UTC 2020 - malcolmlewis@opensuse.org
- Add dateutils-remove-deprecated-header.patch: Remove deprecated
glibc sysctl.h header.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 5 19:16:19 UTC 2020 - Michael Vetter <mvetter@suse.com> Wed Feb 5 19:16:19 UTC 2020 - Michael Vetter <mvetter@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package dateutils # spec file for package dateutils
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,8 @@ Group: Productivity/Text/Utilities
URL: https://github.com/hroptatyr/dateutils/ URL: https://github.com/hroptatyr/dateutils/
Source0: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz 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 Source1: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.asc
#PATCH-FIX-OPENSUSE dateutils-remove-deprecated-header.patch malcolmlewis@opensuse.org -- Remove deprecated glibc sysctl.h header.
Patch0: dateutils-remove-deprecated-header.patch
BuildRequires: octave-devel BuildRequires: octave-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: timezone BuildRequires: timezone
@ -49,7 +51,7 @@ Requires: octave
Dateutils can be used from within matlab or ocatave. Dateutils can be used from within matlab or ocatave.
%prep %prep
%setup -q %autosetup -p1
%build %build
%configure \ %configure \