#3 New release 8.2, add %check
Merged 7 months ago by churchyard. Opened 7 months ago by churchyard.
rpms/ churchyard/lmfit 8.1  into  master

file modified
+1 -8

@@ -1,8 +1,1 @@ 

- /lmfit-3.5.tgz

- /lmfit-5.0.tgz

- /lmfit-5.1.tgz

- /lmfit-6.0.tgz

- /lmfit-6.1.tgz

- /lmfit-6.2.tgz

- /lmfit-6.4.tgz

- /lmfit-7.0.tgz

+ /lmfit-*.tgz

file modified
+16 -5

@@ -1,5 +1,5 @@ 

  Name:           lmfit

- Version:        7.0

+ Version:        8.2

  Release:        1%{?dist}

  Summary:        Levenberg-Marquardt least-squares minimization and curve fitting

  # software is BSD, documentation is CC-BY

@@ -24,11 +24,11 @@ 

  Development files for %{name}.

  

  %prep

- %setup -q

+ %autosetup -p1

  cp -ra demo _demo

  

  # install to libdir

- sed -i 's@${destination}/lib@${destination}/%{_lib}@' lib/CMakeLists.txt

+ sed -i 's@${destination}/lib@${destination}/%{_lib}@' lib/CMakeLists.txt CMakeLists.txt

  

  # install to mandir

  sed -i 's@${CMAKE_INSTALL_PREFIX}/man@%{_mandir}@' man/CMakeLists.txt

@@ -48,18 +48,29 @@ 

  rm -rf demo

  mv -f _demo demo

  

+ %check

+ pushd build

+ make %{?_smp_mflags} test

+ popd

+ 

  %files

  %doc COPYING CHANGELOG

- %{_libdir}/*so.*

+ %{_libdir}/lib%{name}.so.8

+ %{_libdir}/lib%{name}.so.8.2

  

  %files devel

  %doc demo

+ %doc %{_datadir}/doc/lmfit/

  %{_includedir}/*

- %{_libdir}/*so

+ %{_libdir}/lib%{name}.so

+ %{_libdir}/pkgconfig/*

  %{_mandir}/man3/*

  %{_mandir}/man7/*

  

  %changelog

+ * Fri Jan 11 2019 Miro Hrončok <mhroncok@redhat.com> - 8.2-1

+ - New release 8.2

+ 

  * Thu Jan 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0-1

  - New release 7.0 (#1509735)

  - No more autotools, but cmake

file modified
+1 -1

@@ -1,1 +1,1 @@ 

- SHA512 (lmfit-7.0.tgz) = 78f479786c6e5c417781c6d629f5a517335fac70df049fafdefd511485da4e542c988d69c998f96eaab4306160de4bb09a631ca6ffff74bba70c51428d734fc3

+ SHA512 (lmfit-8.2.tgz) = 1f3e052594c5ab9cefdc470a19f8cb3e31c7757a59d6034580fbd2c9ee8fd9e1c526b898a5559881ee69a83cfcb6fa5919cbc36134a8d45f24aed186ff618744

@junghans @rathann@deji Please test with gromacs.

@martinkg Please test with GoldenCheetah.

repsnapper builds fine

https://koji.fedoraproject.org/koji/taskinfo?taskID=31790439 test_inversion fails on certain arches, but the log doesn't reveal much.

It's a float comparison error. I have a fix ready, doing some testing.

1 new commit added

  • Fix a floating point error in tests on ppc64le, aarch64 and s390x
7 months ago

1 new commit added

  • Update to release 8.2
7 months ago

@junghans @rathann@deji Please test with gromacs.

@martinkg Please test with GoldenCheetah.

Yes, I did a test build of gromacs-2019 and it seems to work, I will wait with that bump until this PR got merged.

GoldenCheetah builds with lmfit-devel-7.0-1.fc30.x86_64 now.

sorry for the question, how can i build it on koji or local machine ?

mock -r fedora-rawhide-x86_64 init
mock -r fedora-rawhide-x86_64 install <links to the needed packages from the scratch build>
fedpkg mockbuild -N # (in your package)

scratch build was already garbage collected, so I'll get you a new one

GoldenCheetah compiles fine with lmfit-8.2-1.fc30.x86_64.rpm

1 new commit added

  • Be strict in soname version in %files
7 months ago

Pull-Request has been merged by churchyard

7 months ago

https://koji.fedoraproject.org/koji/taskinfo?taskID=32329279

Building in rawhide. Use koji wait-repo f30-build --build=lmfit-8.2-1.fc30 and rebuild your packages or wait couple days for the mass rebuild if you don't have time for this.

Thank You all.

Can we push lmfit-8.2 to f29 as well? Or too much rebuilds?

IMHO too much rebuilds and patches. But if it is blocking you, why not. Let me know.

Well, it just means no gromacs-2019 for f29, but there was just a bugfix release for gromacs-2018, so that should be fine.