$ git diff --patch-with-stat --summary 5635b1d460401da7b09546a6a327ca22c88c66e5..4b3733931588b99fa6fb56f9a2e4e8d8931fe5d1
.abf.yml | 2 +-
check-update.sh | 3 ++-
octave-signal.spec | 28 ++++++++++++----------------
3 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index 671bc92..24cc156 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- signal-1.4.2.tar.gz: 39dc1c4f1060c004c063ed8ea57fc46884745a99
+ signal-1.4.3.tar.gz: 1ef353733dbb39888408bfaad463f8d06e2faf39
diff --git a/check-update.sh b/check-update.sh
index 109e804..e85db86 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
#!/bin/sh
-curl https://octave.sourceforge.io/signal/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=signal
+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-signal.spec b/octave-signal.spec
index 0bca284..68a341c 100644
--- a/octave-signal.spec
+++ b/octave-signal.spec
@@ -1,35 +1,34 @@
%global octpkg signal
Summary: Signal processing tools for Octave
-Name: octave-%{octpkg}
-Version: 1.4.2
-Release: 1
-Source0: https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Name: octave-signal
+Version: 1.4.3
+Release: 2
License: GPLv3+ and Public Domain
Group: Sciences/Mathematics
-Url: https://octave.sourceforge.io/%{octpkg}/
+Url: https://packages.octave.org/signal/
+Source0: https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-BuildRequires: octave-devel >= 3.8.0
-BuildRequires: octave-control >= 2.4.5
+BuildRequires: octave-devel >= 3.8.0
+BuildRequires: octave-control >= 2.4.0
Requires: octave(api) = %{octave_api}
-Requires: octave-control >= 2.4.5
+Requires: octave-control >= 2.4.0
Requires(post): octave
Requires(postun): octave
%description
-Signal processing tools, including filtering, windowing and display functions.
-
-This package is part of community Octave-Forge collection.
+Signal processing tools, including filtering, windowing and display
+functions.
%files
%license COPYING
%doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
%dir %{octpkgdir}
%{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
%{_metainfodir}/*.metainfo.xml
#---------------------------------------------------------------------------
@@ -37,9 +36,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