octave-splines 1.3.4-2 (aarch64;znver1;x86_64) 2023-17476
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335213
Packages
octave-splines-1.3.4-2.aarch64.binary
octave-splines-1.3.4-2.aarch64.source
octave-splines-1.3.4-2.znver1.binary
octave-splines-1.3.4-2.znver1.source
octave-splines-1.3.4-2.x86_64.source
octave-splines-1.3.4-2.x86_64.binary
Build Date 2023-04-25 17:43:45 +0000 UTC
Last Updated 2023-05-06 02:47:58.076204438 +0000 UTC
$ git diff --patch-with-stat --summary e1b02cec3c1dcc46c737cb3c2b0ef4a18b36d75e..158228b1f27d37422fb2254f6c5b9dc34b6cc949

 check-update.sh     |  3 ++-
 octave-splines.spec | 18 ++++++++----------
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index f5db12d..b50897a 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/splines/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=splines
+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-splines.spec b/octave-splines.spec
index 6662a54..08f2d2b 100644
--- a/octave-splines.spec
+++ b/octave-splines.spec
@@ -1,27 +1,26 @@
 %global octpkg splines
 
 Summary:	Additional spline functions
-Name:		octave-%{octpkg}
+Name:		octave-splines
 Version:	1.3.4
-Release:	1
-Url:		https://octave.sourceforge.io/%{octpkg}/
-Source0:	http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+ and Public Domain
 Group:		Sciences/Mathematics
-BuildArch:	noarch
+#Url:		https://packages.octave.org/splines/
+Source0:	https://downloads.sourceforge.net/octave/splines-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 3.6.0
+BuildRequires:  octave-devel >= 3.6.0
 
 Requires:	octave(api) = %{octave_api}
 
 Requires(post): octave
 Requires(postun): octave
 
+BuildArch:	noarch
+
 %description
 Additional spline functions.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
@@ -31,10 +30,9 @@ This package is part of community Octave-Forge collection.
 #---------------------------------------------------------------------------
 
 %prep
-%autosetup -n %{octpkg}-%{version}
+%autosetup -p1 -n %{octpkg}-%{version}
 
 %build
-%set_build_flags
 %octave_pkg_build
 
 %install
Not Available

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