From aa2e75c0cb3ab65e68ea00bde94cacee82504710 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Thu, 14 Apr 2016 13:32:12 -0400 Subject: [PATCH] Update to 5.2.0 - spec file cleanup --- SuperLU.spec | 20 +++++++++++-------- ...dd-fpic.patch => superlu-5x-add-fpic.patch | 0 ...atch => superlu-5x-build-shared-lib3.patch | 0 ...te.patch => superlu-5x-fix-testsuite.patch | 0 4 files changed, 12 insertions(+), 8 deletions(-) rename superlu-511-add-fpic.patch => superlu-5x-add-fpic.patch (100%) rename superlu-511-build-shared-lib3.patch => superlu-5x-build-shared-lib3.patch (100%) rename superlu-511-fix-testsuite.patch => superlu-5x-fix-testsuite.patch (100%) diff --git a/SuperLU.spec b/SuperLU.spec index 281bf62..860bd1e 100644 --- a/SuperLU.spec +++ b/SuperLU.spec @@ -1,9 +1,9 @@ %global genname superlu -%global majorver 5.1 +%global libver 5.1 Name: SuperLU -Version: 5.1.1 -Release: 2%{?dist} +Version: 5.2.0 +Release: 1%{?dist} Summary: Subroutines to solve sparse linear systems %{?el5:Group: System/Libraries} @@ -11,11 +11,11 @@ License: BSD and GPLV2+ URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ Source0: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/%{genname}_%{version}.tar.gz # Build with -fPIC -Patch0: %{genname}-511-add-fpic.patch +Patch0: %{genname}-5x-add-fpic.patch # Build shared library -Patch1: %{genname}-511-build-shared-lib3.patch +Patch1: %{genname}-5x-build-shared-lib3.patch # Fixes testsuite -Patch3: %{genname}-511-fix-testsuite.patch +Patch3: %{genname}-5x-fix-testsuite.patch # remove non-free mc64 functionality # patch obtained from the debian package Patch4: %{genname}-removemc64.patch @@ -83,7 +83,7 @@ make -C TESTING %{?el5:rm -rf %{buildroot}} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir}/%{name} -install -p SRC/libsuperlu.so.%{majorver} %{buildroot}%{_libdir} +install -p SRC/libsuperlu.so.%{libver} %{buildroot}%{_libdir} install -p SRC/*.h %{buildroot}%{_includedir}/%{name} chmod -x %{buildroot}%{_includedir}/%{name}/*.h cp -Pp SRC/libsuperlu.so %{buildroot}%{_libdir} @@ -106,7 +106,7 @@ popd %files %doc README -%{_libdir}/libsuperlu.so.%{majorver} +%{_libdir}/libsuperlu.so.%{libver} %files devel %{_includedir}/%{name}/ @@ -116,6 +116,10 @@ popd %doc DOC EXAMPLE FORTRAN %changelog +* Thu Apr 14 2016 Mukundan Ragavan - 5.2.0-1 +- Update to 5.2.0 +- spec file cleanup + * Mon Mar 28 2016 Mukundan Ragavan - 5.1.1-2 - Added -doc subpackage - Added GPLv2 in the license field diff --git a/superlu-511-add-fpic.patch b/superlu-5x-add-fpic.patch similarity index 100% rename from superlu-511-add-fpic.patch rename to superlu-5x-add-fpic.patch diff --git a/superlu-511-build-shared-lib3.patch b/superlu-5x-build-shared-lib3.patch similarity index 100% rename from superlu-511-build-shared-lib3.patch rename to superlu-5x-build-shared-lib3.patch diff --git a/superlu-511-fix-testsuite.patch b/superlu-5x-fix-testsuite.patch similarity index 100% rename from superlu-511-fix-testsuite.patch rename to superlu-5x-fix-testsuite.patch