[ofa-general] [PATCH] ibsim: Fixed custom release in SPEC file
Nicolas Morey-Chaisemartin
nicolas.morey-chaisemartin at ext.bull.net
Mon Apr 27 03:51:29 PDT 2009
Removed a space which make rpmbuild fail when _dist and CUSTOM_RELEASE are set:
error: line 15: Tag takes single token only: Release: ofed1.4.1 .fc11
This is due to
Release: %rel%{?dist}
and %rel having a trailing whitespace.
Signed-off-by: Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin at ext.bull.net>
---
ibsim.spec.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ibsim.spec.in b/ibsim.spec.in
index b787248..d6ec898 100644
--- a/ibsim.spec.in
+++ b/ibsim.spec.in
@@ -1,6 +1,6 @@
%define RELEASE @RELEASE@
-%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
+%define rel %{?CUSTOM_RELEASE}%{!?CUSTOM_RELEASE:%RELEASE}
Summary: InfiniBand fabric simulator for management
Name: ibsim
--
1.6.2.GIT
More information about the general
mailing list