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
This commit is contained in:
Stanislav Brabec 2019-01-08 16:49:51 +00:00 committed by Git OBS Bridge
parent b539f2fe63
commit 295d5686d6
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 6 18:32:58 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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 <stefan.bruens@rwth-aachen.de>

View File

@ -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