Accepting request 534228 from home:dimstar:Factory

- Fix csparselib define: libcsparse-%{csparseso}. This results in
  the (wrongly named) package libcsparsever-3_1_9 being renamed to
  libcsparse-3_1_9, matching the content of the package. The old
  name is, exceptionally, obsoleted by the new package name (not
  provided, as nothing but the -devel package should ever have
  referenced the package by name). The obsolete is guarded to no
  longer apply, should the version change.

OBS-URL: https://build.opensuse.org/request/show/534228
OBS-URL: https://build.opensuse.org/package/show/science/suitesparse?expand=0&rev=7
This commit is contained in:
Dmitry Roshchin 2017-10-16 15:01:24 +00:00 committed by Git OBS Bridge
parent 67f85633d5
commit 74f5b23a88
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Oct 16 13:53:59 UTC 2017 - dimstar@opensuse.org
- Fix csparselib define: libcsparse-%{csparseso}. This results in
the (wrongly named) package libcsparsever-3_1_9 being renamed to
libcsparse-3_1_9, matching the content of the package. The old
name is, exceptionally, obsoleted by the new package name (not
provided, as nothing but the -devel package should ever have
referenced the package by name). The obsolete is guarded to no
longer apply, should the version change.
-------------------------------------------------------------------
Mon Jul 10 23:33:01 UTC 2017 - jengelh@inai.de

View File

@ -69,7 +69,7 @@ BuildRequires: openmpi-devel
%define ccolamdlib libccolamd-%{ccolamdso}
%define cholmodlib libcholmod-%{cholmodso}
%define colamdlib libcolamd-%{colamdso}
%define csparselib libcsparsever-%{csparseso}
%define csparselib libcsparse-%{csparseso}
%define cxsparselib libcxsparse-%{cxsparseso}
%define klulib libklu-%{kluso}
%define ldllib libldl-%{ldlso}
@ -275,6 +275,10 @@ Release: 0
Summary: Instructional Sparse Matrix Package
License: LGPL-2.1+
Group: System/Libraries
# AT version 3.1.9, this package was accidentally called libcsparsever-3_1_9
%if "%{csparsever}" == "3.1.9"
Obsoletes: libcsparsever-3_1_9 = 3.1.9
%endif
%description -n %{csparselib}
CSparse is a small yet feature-rich sparse matrix package written