octave-linear-algebra 2.2.3-2 (aarch64;znver1;x86_64) 2023-17488
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335806
Packages
octave-linear-algebra-2.2.3-2.aarch64.binary
octave-linear-algebra-2.2.3-2.aarch64.source
octave-linear-algebra-2.2.3-2.znver1.source
octave-linear-algebra-2.2.3-2.znver1.binary
octave-linear-algebra-2.2.3-2.x86_64.source
octave-linear-algebra-2.2.3-2.x86_64.binary
Build Date 2023-04-28 08:54:10 +0000 UTC
Last Updated 2023-05-06 02:47:19.067155489 +0000 UTC
$ git diff --patch-with-stat --summary bdcb96c97d0edb00a2e58bc1a9eaad8e6412a662..bc1056b5f6c6dfdc66e8a295de8f947032feedb3

 check-update.sh            |  3 ++-
 octave-linear-algebra.spec | 18 +++++++-----------
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 2983623..9fd64c3 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/linear-algebra/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=linear-algebra
+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-linear-algebra.spec b/octave-linear-algebra.spec
index 71da6df..78d6d5f 100644
--- a/octave-linear-algebra.spec
+++ b/octave-linear-algebra.spec
@@ -1,27 +1,26 @@
 %global octpkg linear-algebra
 
 Summary:	Additional linear algebra code, including general SVD and matrix functions
-Name:		octave-%{octpkg}
+Name:		octave-linear-algebra
 Version:	2.2.3
-Release:	1
-Source0:	http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+ and LGPLv3+ and BSD
 Group:		Sciences/Mathematics
-Url:		https://octave.sourceforge.io/%{octpkg}/
-BuildArch:	noarch
+#Url:		https://packages.octave.org/linear-algebra/
+Source0:	https://downloads.sourceforge.net/octave/linear-algebra-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.0.0
+BuildRequires:  octave-devel >= 4.0.0
 
 Requires:	octave(api) = %{octave_api}
 
 Requires(post): octave
 Requires(postun): octave
 
+BuildArch:	noarch
+
 %description
 Additional linear algebra code, including general SVD and matrix functions.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
@@ -33,9 +32,6 @@ This package is part of community Octave-Forge collection.
 %prep
 %autosetup -p1 -n %{octpkg}-%{version}
 
-# remove backup files
-#find . -name \*~ -delete
-
 %build
 %octave_pkg_build
 
Not Available

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