octave-statistics 1.5.4-1 (x86_64;znver1;aarch64) 2023-17466
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/334116
Packages
octave-statistics-1.5.4-1.x86_64.source
octave-statistics-1.5.4-1.x86_64.binary
octave-statistics-debuginfo-1.5.4-1.x86_64.debuginfo
octave-statistics-debugsource-1.5.4-1.x86_64.binary
octave-statistics-1.5.4-1.znver1.source
octave-statistics-1.5.4-1.znver1.binary
octave-statistics-debuginfo-1.5.4-1.znver1.debuginfo
octave-statistics-debugsource-1.5.4-1.znver1.binary
octave-statistics-1.5.4-1.aarch64.binary
octave-statistics-1.5.4-1.aarch64.source
octave-statistics-debuginfo-1.5.4-1.aarch64.debuginfo
octave-statistics-debugsource-1.5.4-1.aarch64.binary
Build Date 2023-04-22 23:18:14 +0000 UTC
Last Updated 2023-05-06 02:48:19.444872445 +0000 UTC
$ git diff --patch-with-stat --summary 0db16f23fc65fcdf8fe973ce333d64c43b3724a1..b6f6b16bc5adf5b2e5647d9a2e2299c6c7297723

 .abf.yml               |  2 +-
 check-update.sh        |  3 ++-
 octave-statistics.spec | 31 +++++++++++++------------------
 3 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 28765be..0c1b214 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  statistics-1.4.3.tar.gz: 5892ebffd8298db3f9e16fcef917701ad8085ffb
+  statistics-1.5.4.tar.gz: f07e8b1d7d67423d3a03c420e4c127efc6e734c6
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..b042091 100644
--- a/octave-statistics.spec
+++ b/octave-statistics.spec
@@ -1,45 +1,40 @@
 %global octpkg statistics
 
-Summary:	Additional statistics functions for Octave
-Name:		octave-%{octpkg}
-Version:	1.4.3
-Release:	2
-Url:		https://octave.sourceforge.io/%{octpkg}/
-Source0:	https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-License:	GPLv3+ and Public Domain
+Summary:	The Statistics package for GNU Octave
+Name:		octave-statistics
+Version:	1.5.4
+Release:	1
+License:	GPLv3+
 Group:		Sciences/Mathematics
-BuildArch:	noarch
+#Url:		https://packages.octave.org/statistics/
+Url:		https://github.com/gnu-octave/statistics/
+Source0:	https://github.com/gnu-octave/statistics/archive/refs/tags/release-%{version}/statistics-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.0.0
-BuildRequires:	octave-io >= 1.0.18
+BuildRequires:  octave-devel >= 6.1.0
 
 Requires:	octave(api) = %{octave_api}
 
-Requires:	octave-io >= 1.0.18
 Requires(post): octave
 Requires(postun): octave
 
 %description
 Additional statistics functions for Octave.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
 %dir %{octpkgdir}
 %{octpkgdir}/*
-%{_metainfodir}/*.metainfo.xml
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
 
 #---------------------------------------------------------------------------
 
 %prep
-%autosetup -p1 -n %{octpkg}-%{version}
-
-# remove backup files
-#find . -name \*~ -delete
+%autosetup -p1 -n %{octpkg}-release-%{version}
 
 %build
+%set_build_flags
 %octave_pkg_build
 
 %install
Not Available

benbullard79 [@T] cox.netNo Comment.355d 20hrs
benbullard79 [@T] cox.netNo Comment.355d 19hrs