$ 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