From 74f5b23a889caba098e15558f6ce0fc6eb2cc09847d80e3e45f4e35c7d459cbc Mon Sep 17 00:00:00 2001 From: Dmitry Roshchin Date: Mon, 16 Oct 2017 15:01:24 +0000 Subject: [PATCH] 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 --- suitesparse.changes | 11 +++++++++++ suitesparse.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/suitesparse.changes b/suitesparse.changes index 6423a27..35f726e 100644 --- a/suitesparse.changes +++ b/suitesparse.changes @@ -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 diff --git a/suitesparse.spec b/suitesparse.spec index 295cfca..bef216b 100644 --- a/suitesparse.spec +++ b/suitesparse.spec @@ -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