$ git diff --patch-with-stat --summary 7fd5672617221f5b45d2f7655a85dd19896a75d6..ecd4a10d60fbee3fb99d067b629b3dc816a0cc4d
.abf.yml | 2 +-
check-update.sh | 3 ---
octave-control.spec | 25 ++++++++++---------------
3 files changed, 11 insertions(+), 19 deletions(-)
delete mode 100755 check-update.sh
diff --git a/.abf.yml b/.abf.yml
index e08a4f9..56a8f09 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- control-3.4.0.tar.gz: 8e704e1c8fb9a0b889378408a1478e2f0fda529f
+ control-3.5.2.tar.gz: c01ffcce4e2b601791fa25c0e8d9dba058560356
diff --git a/check-update.sh b/check-update.sh
deleted file mode 100755
index 26a8e3a..0000000
--- a/check-update.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-curl https://octave.sourceforge.io/control/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
-
diff --git a/octave-control.spec b/octave-control.spec
index fa7ef82..390a4f4 100644
--- a/octave-control.spec
+++ b/octave-control.spec
@@ -1,17 +1,16 @@
%global octpkg control
Summary: Additional Octave control tools
-Name: octave-%{octpkg}
-Version: 3.4.0
+Name: octave-control
+Version: 3.5.2
Release: 1
-Source0: https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-# https://savannah.gnu.org/bugs/?61205
-Patch0: lapack-3.10.0.patch
License: GPLv3+
Group: Sciences/Mathematics
-Url: https://octave.sourceforge.io/%{octpkg}/
+#Url: https://packages.octave.org/control/
+Url: https://github.com/gnu-octave/pkg-control
+Source0: https://github.com/gnu-octave/pkg-control/releases/download/control-%{version}/control-%{version}.tar.gz
-BuildRequires: octave-devel >= 4.0.0
+BuildRequires: octave-devel >= 4.0.0
BuildRequires: gcc-gfortran
BuildRequires: gomp-devel
@@ -21,31 +20,27 @@ Requires(post): octave
Requires(postun): octave
%description
-Computer-Aided Control System Design (CACSD) Tools for GNU Octave,
+Computer-Aided Control System Design (CACSD) Tools for GNU Octave,
based on the proven SLICOT Library.
-This package is part of community Octave-Forge collection.
-
%files
%license COPYING
%doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
%dir %{octpkgdir}
%{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
#---------------------------------------------------------------------------
%prep
%autosetup -p1 -n %{octpkg}-%{version}
-# remove backup files
-find . -name \*~ -delete
-
%build
# fortran modules don't link if clang is used
export CC=gcc
export CXX=g++
+
%set_build_flags
%octave_pkg_build