From 93a97b9c8438a1c55aac053422d8aee333f218b9 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Thu, 7 Aug 2014 05:37:04 -0700 Subject: [PATCH] Revert "fix potential error since added %suse_version" This reverts commit e972e2e05274efdcbdf4c37beaf05873d098214e. Change-Id: I85d4874217f19fe545aa2374eafadecf8a86bebd --- packaging/kickstarter.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.7.4