octave-communications 1.2.4-2 (aarch64;znver1;x86_64) 2023-17465
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/334016
Packages
octave-communications-1.2.4-2.aarch64.binary
octave-communications-1.2.4-2.aarch64.source
octave-communications-debuginfo-1.2.4-2.aarch64.debuginfo
octave-communications-debugsource-1.2.4-2.aarch64.binary
octave-communications-1.2.4-2.znver1.source
octave-communications-1.2.4-2.znver1.binary
octave-communications-debuginfo-1.2.4-2.znver1.debuginfo
octave-communications-debugsource-1.2.4-2.znver1.binary
octave-communications-1.2.4-2.x86_64.source
octave-communications-1.2.4-2.x86_64.binary
octave-communications-debuginfo-1.2.4-2.x86_64.debuginfo
octave-communications-debugsource-1.2.4-2.x86_64.binary
Build Date 2023-04-22 18:12:15 +0000 UTC
Last Updated 2023-05-06 02:48:27.012171684 +0000 UTC
$ git diff --patch-with-stat --summary e141b58b7053f78e3b2493ff54727531cec4ccec..d8f3cc0c4d904635b4881b7d9c19ba7350386bac

 check-update.sh            |  3 ++-
 octave-communications.spec | 24 +++++++++++-------------
 2 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 98cf243..7ac7d6a 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/communications/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=communications
+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-communications.spec b/octave-communications.spec
index effa181..956cf40 100644
--- a/octave-communications.spec
+++ b/octave-communications.spec
@@ -1,16 +1,16 @@
 %global octpkg communications
 
 Summary:	Digital communication tools for Octave
-Name:		octave-%{octpkg}
+Name:		octave-communications
 Version:	1.2.4
-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/communications/
+Source0:	https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
 
-BuildRequires:	octave-devel >= 4.4.0
-BuildRequires:	octave-signal >= 1.1.3
+BuildRequires:  octave-devel >= 4.4.0
+BuildRequires:  octave-signal >= 1.1.3
 
 Requires:	octave(api) = %{octave_api}
 Requires:	octave-signal >= 1.1.3
@@ -19,23 +19,21 @@ Requires(post): octave
 Requires(postun): octave
 
 %description
-Digital Communications, Error Correcting Codes (Channel Code), Source Code
-functions, Modulation and Galois Fields.
-
-This package is part of community Octave-Forge collection.
+Digital Communications, Error Correcting Codes (Channel Code), Source
+Code functions, Modulation and Galois Fields.
 
 %files
 %license COPYING
 %doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
 %dir %{octpkgdir}
 %{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
 
 #---------------------------------------------------------------------------
 
 %prep
-%autosetup -n %{octpkg}-%{version}
+%autosetup -p1 -n %{octpkg}-%{version}
 
 %build
 %set_build_flags
Not Available

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