#2 [WIP] Version bump
Closed 4 years ago by cbm. Opened 5 years ago by cbm.

file modified
+1
@@ -10,3 +10,4 @@ 

  /symbolic-2.6.0.tar.gz

  /symbolic-2.7.0.tar.gz

  /symbolic-2.7.1.tar.gz

+ /symbolic-2.8.0.tar.gz

file modified
+9 -10
@@ -4,26 +4,23 @@ 

  %global _python_bytecompile_extra 0

  

  Name:           octave-%{octpkg}

- Version:        2.7.1

- Release:        5%{?dist}

+ Version:        2.8.0

+ Release:        1%{?dist}

  Summary:        Symbolic computations for Octave

  License:        GPLv3+

  URL:            https://octave.sourceforge.io/%{octpkg}

  Source0:        https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz

- # Increase tolerance on test that fails on ppc64, s390x

- # https://savannah.gnu.org/bugs/index.php?55050

- Patch0:         octave-symbolic-test.patch

  

  BuildArch:      noarch

  BuildRequires:  octave-devel

  BuildRequires:  octave-doctest >= 0.6.1

  BuildRequires:  python3

- BuildRequires:  python%{python3_pkgversion}-sympy >= 1.0

+ BuildRequires:  python%{python3_pkgversion}-sympy >= 1.2

  

  Requires:       octave(api) = %{octave_api}

  Requires(post): octave

  Requires(postun): octave

- Requires:       python%{python3_pkgversion}-sympy >= 1.0

+ Requires:       python%{python3_pkgversion}-sympy >= 1.2

  

  

  %description
@@ -34,7 +31,6 @@ 

  

  %prep

  %setup -q -n %{octpkg}-%{version}

- %patch0 -p1 -b .test

  sed -i "s/python = 'python'/python = 'python3'/" inst/private/defaultpython.m

  

  %build
@@ -46,8 +42,8 @@ 

  %check

  # "octave_pkg_check" macro uses "runtests" which doesn't test classes

  pushd %{buildroot}/%{octpkgdir}

- %octave_cmd r=octsympy_tests; if r, type octsympy_tests.log; end; exit(r)

- rm -f octsympy_tests.log

+ %octave_cmd r=octsympy_tests; if r, type fntests.log; end; exit(r)

+ rm -f fntests.log

  %octave_cmd pkg load doctest; syms x; r=doctest("."); exit(~r)

  popd

  
@@ -80,6 +76,9 @@ 

  

  

  %changelog

+ * Thu May 02 2019 Colin B. Macdonald <cbm@m.fsf.org> - 2.8.0-1

+ - Version bump

+ 

  * Sun Apr 28 2019 Orion Poplawski <orion@nwra.com> - 2.7.1-5

  - Increate tolerance on failing test (bugz#1703856)

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (symbolic-2.7.1.tar.gz) = 779f2641b02208d03eb82178609caa31b7cb74e12e6ef81f89ed6c70603aaccda9fd4c0acf97964dd1b498068879c97490d4f24a06c7c9d401ea1225d1cf6a3f

+ SHA512 (symbolic-2.8.0.tar.gz) = 5bdf63ce755644b48217467c5f53587df64b2dc9215dfcd32db7ac13f6e0a6554054a6b9bffb8fe34983fdfc6119125237bf6e4439fc649b603a8d359f5347d5

2.8.0 not officially released but this should be the needed changes for Fedora.

I have not done fedpkg new-sources b/c I was afraid that would cause some trouble if the upstream review results in a new tarball.

Because this on a branch, it took me a while to figure out how to fire off a scratch build of this... I did fedpkg --release=f31 srpm which builds the srpm.

Then

fedpkg --release f31 scratch-build --srpm octave-symbolic-2.8.0-1.fc31.src.rpm

The order of the arguments there was important: --release before scratch-build.

Anyway: https://koji.fedoraproject.org/koji/taskinfo?taskID=34583430

Pull-Request has been closed by cbm

4 years ago