octave-miscellaneous 1.3.0-2 (aarch64;znver1;x86_64) 2023-17490
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335797
Packages
octave-miscellaneous-1.3.0-2.aarch64.source
octave-miscellaneous-1.3.0-2.aarch64.binary
octave-miscellaneous-debuginfo-1.3.0-2.aarch64.debuginfo
octave-miscellaneous-debugsource-1.3.0-2.aarch64.binary
octave-miscellaneous-1.3.0-2.znver1.source
octave-miscellaneous-1.3.0-2.znver1.binary
octave-miscellaneous-debuginfo-1.3.0-2.znver1.debuginfo
octave-miscellaneous-debugsource-1.3.0-2.znver1.binary
octave-miscellaneous-1.3.0-2.x86_64.source
octave-miscellaneous-1.3.0-2.x86_64.binary
octave-miscellaneous-debuginfo-1.3.0-2.x86_64.debuginfo
octave-miscellaneous-debugsource-1.3.0-2.x86_64.binary
Build Date 2023-04-28 08:48:14 +0000 UTC
Last Updated 2023-05-06 02:47:21.850486367 +0000 UTC
$ git diff --patch-with-stat --summary b19eb786c86ea3e2b7cfb0bce577d78720e0cde2..73e775af3941cf26ccef84a09c51e6be4c7c18d9

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

diff --git a/check-update.sh b/check-update.sh
index cb66256..5264b92 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/miscellaneous/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=miscellaneous
+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-miscellaneous.spec b/octave-miscellaneous.spec
index 3db098f..9aab853 100644
--- a/octave-miscellaneous.spec
+++ b/octave-miscellaneous.spec
@@ -1,19 +1,20 @@
 %global octpkg miscellaneous
 
 Summary:	Miscellaneous tools that don't fit somewhere else
-Name:		octave-%{octpkg}
+Name:		octave-miscellaneous
 Version:	1.3.0
-Release:	1
-Source0:	http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+
 Group:		Sciences/Mathematics
-Url:		https://octave.sourceforge.io/%{octpkg}/
+Url:		https://packages.octave.org/miscellaneous/
+Source0:	https://downloads.sourceforge.net/octave/miscellaneous-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 3.6.0
+BuildRequires:	octave-devel >= 3.8.0
 BuildRequires:	ncurses-devel
 #BuildRequires:	termcap-devel
 BuildRequires:	units
 
+
 Requires:	octave(api) = %{octave_api}
 Requires:	units
 
@@ -23,24 +24,19 @@ Requires(postun): octave
 %description
 Miscellaneous tools that don't fit somewhere else.
 
-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.353d 20hrs
benbullard79 [@T] cox.netNo Comment.353d 20hrs