Accepting request 105582 from OFED:Factory
- No need to own %{_libdir}/mpi/gcc/, so package can be noarch - Mark stuff under /etc/profile.d as config and remove rpmlintrc (forwarded request 105359 from saschpe) OBS-URL: https://build.opensuse.org/request/show/105582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpi-selector?expand=0&rev=12
This commit is contained in:
parent
bb6034a259
commit
b46208d9c3
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2f9927ad92d8b6d3beda8bf562b60ffcdd271ca11113e200f2fe8943bb85f8e3
|
|
||||||
size 45574
|
|
3
mpi-selector-1.0.3.tar.bz2
Normal file
3
mpi-selector-1.0.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5f3670df2b6383a2084d9f9f31790d74a85f6fbb3b349428201a5f08dc80cf40
|
||||||
|
size 45577
|
18
mpi-selector-no_bang_line.patch
Normal file
18
mpi-selector-no_bang_line.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Index: mpi-selector.csh.in
|
||||||
|
===================================================================
|
||||||
|
--- mpi-selector.csh.in.orig 2009-08-02 09:58:22.000000000 +0200
|
||||||
|
+++ mpi-selector.csh.in 2010-12-10 16:44:40.618387677 +0100
|
||||||
|
@@ -1,4 +1,3 @@
|
||||||
|
-#!/bin/csh
|
||||||
|
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# File installed for Bourne-shell startups to select which MPI
|
||||||
|
Index: mpi-selector.sh.in
|
||||||
|
===================================================================
|
||||||
|
--- mpi-selector.sh.in.orig 2009-08-02 09:58:22.000000000 +0200
|
||||||
|
+++ mpi-selector.sh.in 2010-12-10 16:44:44.690098294 +0100
|
||||||
|
@@ -1,4 +1,3 @@
|
||||||
|
-#!/bin/sh
|
||||||
|
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# File installed for Bourne-shell startups to select which MPI
|
@ -1,9 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 16 09:21:17 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- No need to own %{_libdir}/mpi/gcc/, so package can be noarch
|
||||||
|
- Mark stuff under /etc/profile.d as config and remove rpmlintrc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 13 10:50:42 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- patch license to follow spdx.org standard
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 10 16:48:40 CET 2010 - pth@suse.de
|
||||||
|
|
||||||
|
- Fix use of perl_requires.
|
||||||
|
- Remove hash bang lines from files to be sourced.
|
||||||
|
- Add a rpmlintrc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 2 15:42:12 CEST 2010 - pth@suse.de
|
Wed Jun 2 15:42:12 CEST 2010 - pth@suse.de
|
||||||
|
|
||||||
- Explicitely use /usr/bin/perl not 'env perl', mainly so that
|
- Explicitely use /usr/bin/perl not 'env perl', mainly so that
|
||||||
rpm automatically detects the dependency.
|
rpm automatically detects the dependency.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 3 08:35:07 CET 2009 - jjolly@suse.de
|
||||||
|
|
||||||
|
- Update to v1.0.3 from OFED 1.4.2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 24 18:39:27 CEST 2008 - jjolly@suse.de
|
Fri Oct 24 18:39:27 CEST 2008 - jjolly@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mpi-selector (Version 1.0.2)
|
# spec file for package mpi-selector
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,19 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: mpi-selector
|
Name: mpi-selector
|
||||||
Url: http://www.openfabrics.org
|
Url: http://www.openfabrics.org
|
||||||
Summary: Tool to provide defaults for which MPI implementation to use
|
Summary: Tool to provide defaults for which MPI implementation to use
|
||||||
Version: 1.0.2
|
Version: 1.0.3
|
||||||
Release: 5
|
Release: 0
|
||||||
License: BSD3c
|
License: BSD-3-Clause
|
||||||
Group: System/Console
|
Group: System/Console
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch3: mpi-selector-perl_path.patch
|
Patch3: mpi-selector-perl_path.patch
|
||||||
|
Patch4: mpi-selector-no_bang_line.patch
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A simple tool that allows system administrators to set a site-wide
|
A simple tool that allows system administrators to set a site-wide
|
||||||
@ -38,22 +39,17 @@ the site-wide default.
|
|||||||
The default can be changed easily via the mpi-selector command --
|
The default can be changed easily via the mpi-selector command --
|
||||||
editing of shell startup files is not required.
|
editing of shell startup files is not required.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-shell-startup-dir=/etc/profile.d
|
%configure --with-shell-startup-dir=/etc/profile.d
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%makeinstall
|
||||||
mkdir -p $RPM_BUILD_ROOT%_libdir/mpi/gcc
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
@ -62,8 +58,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/mpi-selector-menu
|
%{_bindir}/mpi-selector-menu
|
||||||
%{_mandir}/man1/mpi-selector.*
|
%{_mandir}/man1/mpi-selector.*
|
||||||
%{_mandir}/man1/mpi-selector-menu.*
|
%{_mandir}/man1/mpi-selector-menu.*
|
||||||
%attr(644,root,root) /etc/profile.d/*
|
%config %attr(644,root,root) /etc/profile.d/*
|
||||||
%dir %_libdir/mpi
|
|
||||||
%dir %_libdir/mpi/gcc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user