Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OpenMandrivaAssociation/octave-linear-algebra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bdcb96c97d0edb00a2e58bc1a9eaad8e6412a662
Choose a base ref
...
head repository: OpenMandrivaAssociation/octave-linear-algebra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bc1056b5f6c6dfdc66e8a295de8f947032feedb3
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 2, 2022

  1. use new url

    mandian committed Dec 2, 2022
    Copy the full SHA
    7dc57a4 View commit details

Commits on Apr 27, 2023

  1. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    bc1056b View commit details
Showing with 9 additions and 12 deletions.
  1. +2 −1 check-update.sh
  2. +7 −11 octave-linear-algebra.spec
3 changes: 2 additions & 1 deletion check-update.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
curl https://octave.sourceforge.io/linear-algebra/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
package=linear-algebra
curl -L https://gnu-octave.github.io/packages/${package}/ 2>/dev/null |sed -ne "s,.*${package}-,,;s,\.tar.\gz,,p" |head -n1

18 changes: 7 additions & 11 deletions octave-linear-algebra.spec
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
%global octpkg linear-algebra

Summary: Additional linear algebra code, including general SVD and matrix functions
Name: octave-%{octpkg}
Name: octave-linear-algebra
Version: 2.2.3
Release: 1
Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
Release: 2
License: GPLv3+ and LGPLv3+ and BSD
Group: Sciences/Mathematics
Url: https://octave.sourceforge.io/%{octpkg}/
BuildArch: noarch
#Url: https://packages.octave.org/linear-algebra/
Source0: https://downloads.sourceforge.net/octave/linear-algebra-%{version}.tar.gz

BuildRequires: octave-devel >= 4.0.0
BuildRequires: octave-devel >= 4.0.0

Requires: octave(api) = %{octave_api}

Requires(post): octave
Requires(postun): octave

BuildArch: noarch

%description
Additional linear algebra code, including general SVD and matrix functions.

This package is part of community Octave-Forge collection.

%files
%license COPYING
%doc NEWS
@@ -33,9 +32,6 @@ This package is part of community Octave-Forge collection.
%prep
%autosetup -p1 -n %{octpkg}-%{version}

# remove backup files
#find . -name \*~ -delete

%build
%octave_pkg_build