Accepting request 282211 from utilities
1 OBS-URL: https://build.opensuse.org/request/show/282211 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=9
This commit is contained in:
commit
54172a69a2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 16 11:26:54 UTC 2015 - sweet_f_a@gmx.de
|
||||
|
||||
- sort out distros with and without octave
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 7 15:08:30 UTC 2014 - sweet_f_a@gmx.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dateutils
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,12 +19,24 @@
|
||||
%define xversion 0.3.1
|
||||
|
||||
%define have_octave 0
|
||||
%ifarch i586 x86_64
|
||||
|
||||
%if 0%{?suse_version} >= 1220 && 0%{?suse_version} != 1315
|
||||
%define have_octave 1
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1230 && 0%{?mandriva_version} <= 201100
|
||||
%ifarch aarch64
|
||||
%if 0%{?suse_version} <= 1310
|
||||
%define have_octave 0
|
||||
%endif
|
||||
%endif
|
||||
%ifnarch i586 x86_64
|
||||
%if 0%{?suse_version} < 1310
|
||||
%define have_octave 0
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 19
|
||||
%define have_octave 1
|
||||
%endif
|
||||
|
||||
Name: dateutils
|
||||
Version: 0.3.1
|
||||
@ -32,7 +44,7 @@ Release: 0
|
||||
Summary: Nifty command line date and time utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Text/Utilities
|
||||
URL: https://github.com/hroptatyr/dateutils/
|
||||
Url: https://github.com/hroptatyr/dateutils/
|
||||
Source: https://bitbucket.org/hroptatyr/dateutils/downloads/%{name}-%{version}.tar.xz
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
@ -70,11 +82,11 @@ Dateutils can be used from within matlab or ocatave.
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
%if %have_octave
|
||||
--enable-contrib \
|
||||
--enable-contrib \
|
||||
%endif
|
||||
ignorethisline=xxx
|
||||
ignorethisline=xxx
|
||||
make V=1
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user