[bmap-tools] [PATCH 2/5] packaging: use opensuse_bs macro
Artem Bityutskiy
dedekind1 at gmail.com
Tue Aug 6 04:30:31 EDT 2013
From: Artem Bityutskiy <artem.bityutskiy at intel.com>
The <CI_CNT>.<B_CNT> trick is OBS-specific, so wrap it with the 'opensuse_bs'
macro.
Change-Id: I817757ffdacddc32077b2876185220e880655ad7
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at intel.com>
---
packaging/bmap-tools.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/packaging/bmap-tools.spec b/packaging/bmap-tools.spec
index d0a667d..c75c14f 100644
--- a/packaging/bmap-tools.spec
+++ b/packaging/bmap-tools.spec
@@ -5,7 +5,13 @@
Name: bmap-tools
Summary: Bmap Tools
Version: 2.4
-Release: %{rc_str}.<CI_CNT>.<B_CNT>
+
+%if 0%{?opensuse_bs}
+Release: %{rc_str}.<CI_CNT>.<B_CNT>
+%else
+Release: %{rc_str}.0.0
+%endif
+
Group: Development/Tools/Other
License: GPL-2.0
BuildArch: noarch
--
1.8.1.4
More information about the Bmap-tools
mailing list