octave-statistics 1.4.3-2 (aarch64) 2023-17470
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/334109
Packages
octave-statistics-1.4.3-2.aarch64.binary
octave-statistics-1.4.3-2.aarch64.source
Build Date 2023-04-22 23:27:07 +0000 UTC
Last Updated 2023-05-06 02:48:16.803824869 +0000 UTC
$ git diff --patch-with-stat --summary 0db16f23fc65fcdf8fe973ce333d64c43b3724a1..154f5feb9d70e130470fd37aa388e4a711ce8026

 check-update.sh        | 3 ++-
 octave-statistics.spec | 4 +---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 98c44f7..f0e7f10 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/statistics/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=statistics
+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-statistics.spec b/octave-statistics.spec
index 5cac1a6..41e5657 100644
--- a/octave-statistics.spec
+++ b/octave-statistics.spec
@@ -4,7 +4,7 @@ Summary:	Additional statistics functions for Octave
 Name:		octave-%{octpkg}
 Version:	1.4.3
 Release:	2
-Url:		https://octave.sourceforge.io/%{octpkg}/
+Url:		https://packages.octave.org/%{octpkg}/
 Source0:	https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
 License:	GPLv3+ and Public Domain
 Group:		Sciences/Mathematics
@@ -22,8 +22,6 @@ Requires(postun): octave
 %description
 Additional statistics functions for Octave.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
Not Available

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