summaryrefslogtreecommitdiff
path: root/packaging/mic.spec
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2013-02-27 15:31:15 +0800
committerGui Chen <gui.chen@intel.com>2013-02-27 16:51:07 +0800
commit3a89be5c973016f5fc12049e57413c1824429017 (patch)
treea15cdfad7fbfd868f0c475fa4933a08be3066b98 /packaging/mic.spec
parent020a90dae6210c7a272f42b0f81861636c543e7f (diff)
downloadmic-3a89be5c973016f5fc12049e57413c1824429017.tar.gz
mic-3a89be5c973016f5fc12049e57413c1824429017.tar.bz2
mic-3a89be5c973016f5fc12049e57413c1824429017.zip
bump up to 0.17-rc1
Change-Id: I1caaf24953b5f6650e02dca2a44dcf53106b79b2 Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'packaging/mic.spec')
-rw-r--r--packaging/mic.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/packaging/mic.spec b/packaging/mic.spec
index f19dd57..cc8e796 100644
--- a/packaging/mic.spec
+++ b/packaging/mic.spec
@@ -3,7 +3,7 @@
Name: mic
Summary: Image Creator for Linux Distributions
Version: 0.17
-Release: 0.rc0
+Release: 0.rc1.<CI_CNT>.<B_CNT>
Group: System/Base
License: GPLv2
BuildArch: noarch
@@ -44,7 +44,7 @@ Requires: squashfs-tools >= 4.0
Requires: syslinux-extlinux
%endif
-%if "0%{?tizen_version}" != "0"
+%if 0%{?tizen_version:1}
Requires: qemu-linux-user
%else
Requires: qemu-arm-static
@@ -53,7 +53,7 @@ Requires: qemu-arm-static
Requires: python-zypp
BuildRequires: python-devel
-%if "0%{?tizen_version}" == "0"
+%if 0%{?tizen_version:1}
BuildRequires: python-docutils
%endif
@@ -75,7 +75,7 @@ an image.
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-%if "0%{?tizen_version}" == "0"
+%if 0%{?tizen_version:1}
make man
%endif
@@ -89,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT
# install man page
mkdir -p %{buildroot}/%{_prefix}/share/man/man1
-%if "0%{?tizen_version}" == "0"
+%if 0%{?tizen_version:1}
install -m644 doc/mic.1 %{buildroot}/%{_prefix}/share/man/man1
%endif
@@ -97,7 +97,7 @@ install -m644 doc/mic.1 %{buildroot}/%{_prefix}/share/man/man1
%defattr(-,root,root,-)
%doc doc/*
%doc README.rst AUTHORS COPYING ChangeLog
-%if "0%{?tizen_version}" == "0"
+%if 0%{?tizen_version:1}
%{_mandir}/man1/*
%endif
%dir %{_sysconfdir}/%{name}