summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-08-06 20:58:29 +0900
committerChanho Park <chanho61.park@samsung.com>2014-08-06 20:58:29 +0900
commite972e2e05274efdcbdf4c37beaf05873d098214e (patch)
tree1f99684b11867cb9a9b4c1f4325c661f24d93388
parentd098dae40bc81d709297882395d8f0bd101e0b00 (diff)
downloadkickstarter-e972e2e05274efdcbdf4c37beaf05873d098214e.tar.gz
kickstarter-e972e2e05274efdcbdf4c37beaf05873d098214e.tar.bz2
kickstarter-e972e2e05274efdcbdf4c37beaf05873d098214e.zip
This patch fixes potential 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: I743c16856b0d76fd544d064b8dbcf0cf825afbda Signed-off-by: Chanho Park <chanho61.park@samsung.com>
-rw-r--r--packaging/kickstarter.spec5
1 files changed, 0 insertions, 5 deletions
diff --git a/packaging/kickstarter.spec b/packaging/kickstarter.spec
index b76d41a..5031de9 100644
--- a/packaging/kickstarter.spec
+++ b/packaging/kickstarter.spec
@@ -33,12 +33,7 @@ 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