From f22e43c088f37e5a58e201a9f2ffb6c18779c154864077e60689a65d09857f21 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Mon, 16 Nov 2020 15:25:35 +0000 Subject: [PATCH] Accepting request 848904 from home:anag:branches:science - Fix package name, re-add lines removed by mistake. This fix duplicate binary names. (boo#1178840) OBS-URL: https://build.opensuse.org/request/show/848904 OBS-URL: https://build.opensuse.org/package/show/science/superlu?expand=0&rev=30 --- superlu.changes | 6 ++++++ superlu.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/superlu.changes b/superlu.changes index 81d2c05..38a97b7 100644 --- a/superlu.changes +++ b/superlu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 16 14:41:49 UTC 2020 - Ana Guerrero Lopez + +- Fix package name, re-add lines removed by mistake. + This fix duplicate binary names. (boo#1178840) + ------------------------------------------------------------------- Mon Oct 26 14:11:13 UTC 2020 - Ana Guerrero Lopez diff --git a/superlu.spec b/superlu.spec index 9d51cb6..796398e 100644 --- a/superlu.spec +++ b/superlu.spec @@ -21,6 +21,7 @@ # Base package name %define pname superlu %define ver 5.2.2 +%define _ver %(echo %{ver} | tr . _) %if "%flavor" == "" ExclusiveArch: do_not_build @@ -75,6 +76,7 @@ ExclusiveArch: do_not_build %define libname lib%{name}%{?_sover} %else %{hpc_init -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} %{?ext:-e %{ext}}} +%define package_name %{hpc_package_name %_ver} %define p_prefix %hpc_prefix %define p_includedir %hpc_includedir %define p_libdir %hpc_libdir