From: Chanho Park Date: Thu, 7 Aug 2014 12:37:04 +0000 (-0700) Subject: Revert "fix potential error since added %suse_version" X-Git-Tag: accepted/tizen/common/20140807.135400^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93a97b9c8438a1c55aac053422d8aee333f218b9;p=platform%2Fupstream%2Fkickstarter.git Revert "fix potential error since added %suse_version" This reverts commit e972e2e05274efdcbdf4c37beaf05873d098214e. Change-Id: I85d4874217f19fe545aa2374eafadecf8a86bebd --- diff --git a/packaging/kickstarter.spec b/packaging/kickstarter.spec index 5031de9..b76d41a 100644 --- a/packaging/kickstarter.spec +++ b/packaging/kickstarter.spec @@ -33,7 +33,12 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %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 --prefix=%{_prefix} +%endif + %files %manifest %{name}.manifest