diff options
author | Chanho Park <cometzero@review.tizen.org> | 2014-08-07 05:38:06 -0700 |
---|---|---|
committer | Chanho Park <cometzero@review.tizen.org> | 2014-08-07 05:38:06 -0700 |
commit | 759069d52a6d9b66129d47d24dcbbd3a8dd31b77 (patch) | |
tree | 23b008f5694b51350a86a8f626f49917408718f3 /packaging/mic.spec | |
parent | d341c9076b828511e7153b7b9b36e617393f793a (diff) | |
download | mic-759069d52a6d9b66129d47d24dcbbd3a8dd31b77.tar.gz mic-759069d52a6d9b66129d47d24dcbbd3a8dd31b77.tar.bz2 mic-759069d52a6d9b66129d47d24dcbbd3a8dd31b77.zip |
Revert "packaging: remove dependency of suse_version"submit/tizen_ivi/20140818.000001submit/tizen_ivi/20140818.000000submit/tizen/20140807.133029submit/tizen/20140807.124405
This reverts commit d341c9076b828511e7153b7b9b36e617393f793a.
Change-Id: I966255f05e30b02103fbdc57cf53af6bba75eac8
Diffstat (limited to 'packaging/mic.spec')
-rw-r--r-- | packaging/mic.spec | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/mic.spec b/packaging/mic.spec index deb2673..7ea48ed 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -28,11 +28,20 @@ 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 @@ -74,7 +83,11 @@ 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 |