octave-io 2.6.4-2 (aarch64;x86_64;znver1) 2023-17468
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/334084
Packages
octave-io-2.6.4-2.aarch64.source
octave-io-2.6.4-2.aarch64.binary
octave-io-debuginfo-2.6.4-2.aarch64.debuginfo
octave-io-debugsource-2.6.4-2.aarch64.binary
octave-io-2.6.4-2.x86_64.source
octave-io-2.6.4-2.x86_64.binary
octave-io-debuginfo-2.6.4-2.x86_64.debuginfo
octave-io-debugsource-2.6.4-2.x86_64.binary
octave-io-2.6.4-2.znver1.source
octave-io-2.6.4-2.znver1.binary
octave-io-debuginfo-2.6.4-2.znver1.debuginfo
octave-io-debugsource-2.6.4-2.znver1.binary
Build Date 2023-04-22 22:36:50 +0000 UTC
Last Updated 2023-05-06 02:48:24.64502174 +0000 UTC
$ git diff --patch-with-stat --summary f98c12a2fb3bf835026360934a2699b3025db922..ff43962d2c6c0e2f89ec76c07d11b05fece4b216

 check-update.sh |  3 ++-
 octave-io.spec  | 20 ++++++++------------
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 621111f..2548bdb 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/io/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=io
+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-io.spec b/octave-io.spec
index 706f429..fa050f9 100644
--- a/octave-io.spec
+++ b/octave-io.spec
@@ -1,15 +1,16 @@
 %global octpkg io
 
 Summary:	Input/Output in external formats
-Name:		octave-%{octpkg}
+Name:		octave-io
 Version:	2.6.4
-Release:	1
-Source0:	http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+ and BSD
 Group:		Sciences/Mathematics
-Url:		https://octave.sourceforge.io/%{octpkg}/
+#Url:		https://packages.octave.org/io/
+Url:		https://packages.octave.org/io/
+Source0:	https://downloads.sourceforge.net/octave/io-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.2.0
+BuildRequires:  octave-devel >= 4.2.0
 
 Requires:	octave(api) = %{octave_api}
 
@@ -19,24 +20,19 @@ Requires(postun): octave
 %description
 Input/Output in external formats.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
 %dir %{octpkgdir}
 %{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
 
 #---------------------------------------------------------------------------
 
 %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.354d 05hrs
benbullard79 [@T] cox.netNo Comment.354d 05hrs