diff --git a/mpi-selector-perl_path.patch b/mpi-selector-perl_path.patch new file mode 100644 index 0000000..ff2a9a8 --- /dev/null +++ b/mpi-selector-perl_path.patch @@ -0,0 +1,10 @@ +Index: mpi-selector.in +=================================================================== +--- mpi-selector.in.orig 2008-10-19 14:15:53.000000000 +0200 ++++ mpi-selector.in 2010-06-02 15:33:58.043227260 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#!/usr/bin/perl + # + # Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. + # diff --git a/mpi-selector.changes b/mpi-selector.changes index 92072f6..07da48e 100644 --- a/mpi-selector.changes +++ b/mpi-selector.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 2 15:42:12 CEST 2010 - pth@suse.de + +- Explicitely use /usr/bin/perl not 'env perl', mainly so that + rpm automatically detects the dependency. + ------------------------------------------------------------------- Fri Oct 24 18:39:27 CEST 2008 - jjolly@suse.de diff --git a/mpi-selector.spec b/mpi-selector.spec index be0479a..242ce44 100644 --- a/mpi-selector.spec +++ b/mpi-selector.spec @@ -1,7 +1,7 @@ # # spec file for package mpi-selector (Version 1.0.2) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,13 +22,11 @@ Name: mpi-selector Url: http://www.openfabrics.org Summary: Tool to provide defaults for which MPI implementation to use Version: 1.0.2 -Release: 4 -License: BSD 3-Clause +Release: 5 +License: BSD3c Group: System/Console Source: %{name}-%{version}.tar.bz2 -# Patch0: mpi-selector-1.0.0-no_shebang.patch -# Patch1: mpi-selector-1.0.0-no_sourced_xbit.patch -# Patch2: mpi-selector-1.0.0-perl_path.patch +Patch3: mpi-selector-perl_path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -44,9 +42,7 @@ editing of shell startup files is not required. %prep %setup -q -# %patch0 -# %patch1 -# %patch2 +%patch3 %build %configure --with-shell-startup-dir=/etc/profile.d @@ -71,13 +67,3 @@ rm -rf $RPM_BUILD_ROOT %dir %_libdir/mpi/gcc %changelog -* Fri Oct 24 2008 jjolly@suse.de -- Updated to version from the OFED 1.4 RC3 -* Thu Sep 11 2008 jjolly@suse.de -- Updated to version 1.0.2 from the OFED 1.4 RC1 release -* Tue Aug 21 2007 kejohnson@suse.de -- Updated source tarball to OFED-1.2.5 release. -- In the spec file, removed autogen.sh from %%build and also - removed ofed-mpi-selector-proposal.txt from %%doc. -* Fri Jul 06 2007 hvogel@suse.de -- Initial Package, Version 1.0.0