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-splines
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e1b02cec3c1dcc46c737cb3c2b0ef4a18b36d75e
Choose a base ref
...
head repository: OpenMandrivaAssociation/octave-splines
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 158228b1f27d37422fb2254f6c5b9dc34b6cc949
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

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    f2e0c26 View commit details

Commits on Apr 25, 2023

  1. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    158228b View commit details
Showing with 10 additions and 11 deletions.
  1. +2 −1 check-update.sh
  2. +8 −10 octave-splines.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/splines/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
package=splines
curl -L https://gnu-octave.github.io/packages/${package}/ 2>/dev/null |sed -ne "s,.*${package}-,,;s,\.tar.\gz,,p" |head -n1

18 changes: 8 additions & 10 deletions octave-splines.spec
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
%global octpkg splines

Summary: Additional spline functions
Name: octave-%{octpkg}
Name: octave-splines
Version: 1.3.4
Release: 1
Url: https://octave.sourceforge.io/%{octpkg}/
Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
Release: 2
License: GPLv3+ and Public Domain
Group: Sciences/Mathematics
BuildArch: noarch
#Url: https://packages.octave.org/splines/
Source0: https://downloads.sourceforge.net/octave/splines-%{version}.tar.gz

BuildRequires: octave-devel >= 3.6.0
BuildRequires: octave-devel >= 3.6.0

Requires: octave(api) = %{octave_api}

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

BuildArch: noarch

%description
Additional spline functions.

This package is part of community Octave-Forge collection.

%files
%license COPYING
%doc NEWS
@@ -31,10 +30,9 @@ This package is part of community Octave-Forge collection.
#---------------------------------------------------------------------------

%prep
%autosetup -n %{octpkg}-%{version}
%autosetup -p1 -n %{octpkg}-%{version}

%build
%set_build_flags
%octave_pkg_build

%install