octave-struct 1.0.18-2 (aarch64;znver1;x86_64) 2023-17467
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/334107
Packages
octave-struct-1.0.18-2.aarch64.source
octave-struct-1.0.18-2.aarch64.binary
octave-struct-debuginfo-1.0.18-2.aarch64.debuginfo
octave-struct-debugsource-1.0.18-2.aarch64.binary
octave-struct-1.0.18-2.znver1.source
octave-struct-1.0.18-2.znver1.binary
octave-struct-debuginfo-1.0.18-2.znver1.debuginfo
octave-struct-debugsource-1.0.18-2.znver1.binary
octave-struct-1.0.18-2.x86_64.binary
octave-struct-1.0.18-2.x86_64.source
octave-struct-debuginfo-1.0.18-2.x86_64.debuginfo
octave-struct-debugsource-1.0.18-2.x86_64.binary
Build Date 2023-04-22 22:51:56 +0000 UTC
Last Updated 2023-05-06 02:48:21.991445776 +0000 UTC
$ git diff --patch-with-stat --summary fa3a53f2732848d528c5d12bbb727f2a53cfc3e1..b66e3b38e91fc80506a59c142955bb8ea3c43ba5

 check-update.sh    |  3 ++-
 octave-struct.spec | 19 +++++++------------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index d71ba71..26cce78 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/struct/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=struct
+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-struct.spec b/octave-struct.spec
index df778c7..5a2629c 100644
--- a/octave-struct.spec
+++ b/octave-struct.spec
@@ -1,15 +1,15 @@
 %global octpkg struct
 
 Summary:	Additional structure manipulation functions
-Name:		octave-%{octpkg}
+Name:		octave-struct
 Version:	1.0.18
-Release:	1
-Url:		https://octave.sourceforge.io/%{octpkg}/
-Source0:	https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+
 Group:		Sciences/Mathematics
+Url:		https://packages.octave.org/struct/
+Source0:	https://downloads.sourceforge.net/octave/struct-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.0.0
+BuildRequires:  octave-devel >= 4.0.0
 
 Requires:	octave(api) = %{octave_api}
 
@@ -19,15 +19,13 @@ Requires(postun): octave
 %description
 Additional structure manipulation functions.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
 %dir %{octpkgdir}
 %{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
 %{_metainfodir}/*.metainfo.xml
 
 #---------------------------------------------------------------------------
@@ -35,9 +33,6 @@ This package is part of community Octave-Forge collection.
 %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.327d 23hrs
benbullard79 [@T] cox.netNo Comment.327d 23hrs