packaging: remove dependency of suse_version 20/25520/1 accepted/tizen/common/20140806.130839 submit/tizen/20140806.115507
authorChanho Park <chanho61.park@samsung.com>
Wed, 6 Aug 2014 11:25:53 +0000 (20:25 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 6 Aug 2014 11:25:53 +0000 (20:25 +0900)
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>
packaging/mic.spec

index 7ea48ed..deb2673 100644 (file)
@@ -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