octave-fpl 1.3.5-2 (aarch64;znver1;x86_64) 2023-17477
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335257
Packages
octave-fpl-1.3.5-2.aarch64.source
octave-fpl-1.3.5-2.aarch64.binary
octave-fpl-1.3.5-2.znver1.binary
octave-fpl-1.3.5-2.znver1.source
octave-fpl-1.3.5-2.x86_64.source
octave-fpl-1.3.5-2.x86_64.binary
Build Date 2023-04-25 21:54:12 +0000 UTC
Last Updated 2023-05-06 02:47:53.470881906 +0000 UTC
$ git diff --patch-with-stat --summary d9e5921f5511ee1a2f2eaa0007517bb9a7571a66..34591ba5175f584bf87b803ff314fc376720d2ad

 check-update.sh |  3 ++-
 octave-fpl.spec | 25 ++++++++++++-------------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 76f0c12..2103862 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/fpl/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=fpl
+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-fpl.spec b/octave-fpl.spec
index 2240dc6..f44651d 100644
--- a/octave-fpl.spec
+++ b/octave-fpl.spec
@@ -1,27 +1,27 @@
-%define octpkg fpl
+%global octpkg fpl
 
 Summary:	Octave support for various graphical formats
-Name:		octave-%{octpkg}
+Name:		octave-fpl
 Version:	1.3.5
-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}/
-BuildArch:	noarch
+Url:		https://packages.octave.org/fpl/
+Source0:	https://downloads.sourceforge.net/octave/fpl-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 3.2.3
+BuildRequires:  octave-devel >= 3.2.3
 
 Requires:	octave(api) = %{octave_api}
 
 Requires(post): octave
 Requires(postun): octave
 
-%description
-Collection of Octave routines to export data produced by Finite Elements or
-Finite Volume Simulations in formats used by some visualization programs.
+BuildArch:	noarch
 
-This package is part of external Octave-Forge collection.
+%description
+Collection of routines to export data produced by Finite Elements or
+Finite Volume Simulations in formats used by some visualization
+programs.
 
 %files
 %license COPYING
@@ -32,10 +32,9 @@ This package is part of external Octave-Forge collection.
 #---------------------------------------------------------------------------
 
 %prep
-%autosetup -n %{octpkg}
+%autosetup -p1 -n %{octpkg}
 
 %build
-%set_build_flags
 %octave_pkg_build
 
 %install
Not Available

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