octave-interval 3.2.1-2 (aarch64) 2023-17483
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335757
Packages
octave-interval-3.2.1-2.aarch64.binary
octave-interval-3.2.1-2.aarch64.source
octave-interval-debuginfo-3.2.1-2.aarch64.debuginfo
octave-interval-debugsource-3.2.1-2.aarch64.binary
Build Date 2023-04-28 01:10:06 +0000 UTC
Last Updated 2023-05-06 02:47:26.647876687 +0000 UTC
$ git diff --patch-with-stat --summary 8278b9f04c7e74f256ca1d98e293da4062ca43f4..11fb89fbfa980709431965c2759f575c3073ff74

 check-update.sh      |  3 ++-
 octave-interval.spec | 25 ++++++++++++-------------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 0d147f3..233d874 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/interval/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=interval
+curl -L https://gnu-octave.github.io/packages/${package}/ 2>/dev/null |sed -ne "s,.*${package}-,,;s,\.tar.\gz,,p" |head -n1
 
diff --git a/octave-interval.spec b/octave-interval.spec
index b8a7050..071fb36 100644
--- a/octave-interval.spec
+++ b/octave-interval.spec
@@ -1,15 +1,17 @@
 %global octpkg interval
 
 Summary:	Evaluate functions over subsets of their domain with Octave
-Name:		octave-%{octpkg}
+Name:		octave-interval
 Version:	3.2.1
-Release:	1
-Source0:	https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-License:	GPL-3.0+
+Release:	2
+License:	GPLv3+
 Group:		Sciences/Mathematics
-Url:		https://octave.sourceforge.io/%{octpkg}/
+Url:		https://packages.octave.org/interval/
+Source0:	https://downloads.sourceforge.net/octave/interval-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.2.0
+BuildRequires:  octave-devel >= 4.2.0
+BuildRequires:	gomp-devel
+BuildRequires:	pkgconfig(gmp)
 BuildRequires:	pkgconfig(mpfr)
 
 Requires:	octave(api) = %{octave_api}
@@ -31,15 +33,13 @@ The implementation is based on interval boundaries represented by binary64
 numbers and is conforming to IEEE Std 1788-2015, IEEE standard for interval
 arithmetic.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
 %dir %{octpkgdir}
 %{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
 %{_metainfodir}/*.metainfo.xml
 
 #---------------------------------------------------------------------------
@@ -47,10 +47,9 @@ This package is part of community Octave-Forge collection.
 %prep
 %autosetup -p1 -n %{octpkg}-%{version}
 
-# remove backup files
-#find . -name \*~ -delete
-
 %build
+export CC=gcc
+export CXX=g++
 %set_build_flags
 %octave_pkg_build
 
Not Available

benbullard79 [@T] cox.netNo Comment.328d 07hrs
benbullard79 [@T] cox.netNo Comment.328d 07hrs