summaryrefslogtreecommitdiff
path: root/packaging/mic.spec
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2014-02-27 00:51:03 -0500
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-02-28 10:32:33 +0200
commit0d35495cda35a57da492a18a4bf3e7e95b50a024 (patch)
treeeef0c12ead9d6e2a5b2e944cc8c66e6296882c95 /packaging/mic.spec
parentcf23440ce139c5a59480d53ebf32798ba7418093 (diff)
downloadmic-0d35495cda35a57da492a18a4bf3e7e95b50a024.tar.gz
mic-0d35495cda35a57da492a18a4bf3e7e95b50a024.tar.bz2
mic-0d35495cda35a57da492a18a4bf3e7e95b50a024.zip
packaging: use gbp packaging service
Change version in debian/changelog to Debian source package format "1.0 native". Change-Id: I6a4017a814cb04a808389e9b11851ce49e8765e0 Signed-off-by: Gui Chen <gui.chen@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'packaging/mic.spec')
-rw-r--r--packaging/mic.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/mic.spec b/packaging/mic.spec
index e28ba75..1f224df 100644
--- a/packaging/mic.spec
+++ b/packaging/mic.spec
@@ -1,9 +1,15 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%define rc_version 1
+
+%if 0%{?rc_version}
+%define release_prefix 0.rc%{rc_version}.
+%endif
+
Name: mic
Summary: Image Creator for Linux Distributions
Version: 0.23
-Release: 0.rc1.<CI_CNT>.<B_CNT>
+Release: %{?release_prefix}%{?opensuse_bs:<CI_CNT>.<B_CNT>}%{!?opensuse_bs:0}
Group: Development/Tools
License: GPLv2
BuildArch: noarch