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