summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-08-06 20:25:53 +0900
committerChanho Park <chanho61.park@samsung.com>2014-08-06 20:25:53 +0900
commitd341c9076b828511e7153b7b9b36e617393f793a (patch)
treedd2919d26b396ee2a7fb76f8d3038fbaca835699
parent6a69ef958deb5042a1988ba06b96a1cf23fc0fc8 (diff)
downloadmic-d341c9076b828511e7153b7b9b36e617393f793a.tar.gz
mic-d341c9076b828511e7153b7b9b36e617393f793a.tar.bz2
mic-d341c9076b828511e7153b7b9b36e617393f793a.zip
packaging: remove dependency of suse_versionsubmit/tizen/20140806.115507accepted/tizen/common/20140806.130839
This patch fixes build error[1] since we adds %suse_version macro[2]. [1]: https://bugs.tizen.org/jira/browse/TC-1474 [2]: https://review.tizen.org/gerrit/#/c/25292/ Change-Id: Idc6282fdf3c9b969ae4d023d58f51a8ca0f8db61 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
-rw-r--r--packaging/mic.spec13
1 files changed, 0 insertions, 13 deletions
diff --git a/packaging/mic.spec b/packaging/mic.spec
index 7ea48ed..deb2673 100644
--- a/packaging/mic.spec
+++ b/packaging/mic.spec
@@ -28,20 +28,11 @@ Requires: bzip2
Requires: python-urlgrabber
Requires: yum >= 3.2.24
%if ! 0%{?centos_version}
-%if 0%{?suse_version}
-Requires: btrfsprogs
-%else
Requires: btrfs-progs
%endif
-%endif
-%if 0%{?suse_version}
-Requires: squashfs >= 4.0
-Requires: python-m2crypto
-%else
Requires: squashfs >= 4.0
Requires: python-M2Crypto
-%endif
%if 0%{?fedora_version} || 0%{?centos_version}
Requires: syslinux-extlinux
@@ -83,11 +74,7 @@ make man
%install
rm -rf $RPM_BUILD_ROOT
-%if 0%{?suse_version}
-%{__python} setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
-%else
%{__python} setup.py install --root=$RPM_BUILD_ROOT -O1
-%endif
# install man page
mkdir -p %{buildroot}/%{_prefix}/share/man/man1