From 295d5686d62879584a244fd004b13ea79e516348948ed356f707e93f60b612ac Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 8 Jan 2019 16:49:51 +0000 Subject: [PATCH] Accepting request 663188 from home:StefanBruens:branches:science - Correct names of built packages, the mpi flavors were lacking the flavor specific name infix, i.e. all flavors were named identically. OBS-URL: https://build.opensuse.org/request/show/663188 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=134 --- vtk.changes | 6 ++++++ vtk.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/vtk.changes b/vtk.changes index 99fcc78..3e90504 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 6 18:32:58 UTC 2019 - Stefan Brüns + +- Correct names of built packages, the mpi flavors were lacking the + flavor specific name infix, i.e. all flavors were named identically. + ------------------------------------------------------------------- Wed Jan 2 23:19:48 UTC 2019 - Stefan Brüns diff --git a/vtk.spec b/vtk.spec index 4e9faca..27163fe 100644 --- a/vtk.spec +++ b/vtk.spec @@ -29,13 +29,13 @@ %endif %if "%{flavor}" == "openmpi" -%define suffix -openmpi +%define my_suffix -openmpi %define mpi_flavor openmpi %define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor} %endif %if "%{flavor}" == "openmpi2" -%define suffix -openmpi2 +%define my_suffix -openmpi2 %define mpi_flavor openmpi2 %define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor} %endif @@ -50,10 +50,10 @@ %define my_datadir %{my_prefix}/share/ %endif -%define vtklib lib%{pkgname}1%{?suffix} +%define vtklib lib%{pkgname}1%{?my_suffix} %define shlib %{vtklib} -Name: vtk%{?suffix} +Name: vtk%{?my_suffix} Version: 8.1.2 Release: 0 %define series 8.1