octave-nan 3.7.0-2 (aarch64;znver1;x86_64) 2023-17485
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335755
Packages
octave-nan-3.7.0-2.aarch64.source
octave-nan-3.7.0-2.aarch64.binary
octave-nan-debuginfo-3.7.0-2.aarch64.debuginfo
octave-nan-debugsource-3.7.0-2.aarch64.binary
octave-nan-3.7.0-2.znver1.source
octave-nan-3.7.0-2.znver1.binary
octave-nan-debuginfo-3.7.0-2.znver1.debuginfo
octave-nan-debugsource-3.7.0-2.znver1.binary
octave-nan-3.7.0-2.x86_64.source
octave-nan-3.7.0-2.x86_64.binary
octave-nan-debuginfo-3.7.0-2.x86_64.debuginfo
octave-nan-debugsource-3.7.0-2.x86_64.binary
Build Date 2023-04-28 01:10:06 +0000 UTC
Last Updated 2023-05-06 02:47:29.33843698 +0000 UTC
$ git diff --patch-with-stat --summary 414fd6dc7860dfecd760ed1eb1b3c90db87d5166..7271351b514c1f668b32a79ae0899683d0d093e5

 check-update.sh |  3 ++-
 octave-nan.spec | 27 ++++++++++++---------------
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 6a67a78..4bf45f4 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/nan/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=nan
+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-nan.spec b/octave-nan.spec
index 45c376f..8981bb9 100644
--- a/octave-nan.spec
+++ b/octave-nan.spec
@@ -1,15 +1,15 @@
-%define octpkg nan
+%global octpkg nan
 
-Summary:	NaN toolbox for Octave
-Name:		octave-%{octpkg}
+Summary:	A statistics and machine learning toolbox for data with and w/o missing values
+Name:		octave-nan
 Version:	3.7.0
-Release:	1
-Source0:	https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+
 Group:		Sciences/Mathematics
-Url:		https://octave.sourceforge.io/%{octpkg}/
+Url:		https://packages.octave.org/nan/
+Source0:	https://downloads.sourceforge.net/octave/nan-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.4.1
+BuildRequires:  octave-devel >= 4.4.1
 BuildRequires:	gomp-devel
 
 Requires:	octave(api) = %{octave_api}
@@ -18,26 +18,23 @@ Requires(post): octave
 Requires(postun): octave
 
 %description
-A statistics and machine learning toolbox for data with and w/o missing values.
-
-This package is part of external Octave-Forge collection.
+A statistics and machine learning toolbox for data with and w/o
+missing values.
 
 %files
 %license COPYING
 %doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
 %dir %{octpkgdir}
 %{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
+#{_metainfodir}/*.metainfo.xml
 
 #---------------------------------------------------------------------------
 
 %prep
 %autosetup -p1 -n %{octpkg}-%{version}
 
-# remove backup files
-#find . -name \*~ -delete
-
 %build
 %set_build_flags
 %octave_pkg_build
Not Available

benbullard79 [@T] cox.netNo Comment.567d 14hrs
benbullard79 [@T] cox.netNo Comment.567d 14hrs