Juan Hernandez has uploaded a new change for review.

Change subject: sdk: Minor spec cleanups
......................................................................

sdk: Minor spec cleanups

This patch does some minor cleanups on the spec file as suggested by
Crhistopher Meng <cicku...@gmail.com> in the bug opened in order to
rename the package in Fedora:

https://bugzilla.redhat.com/1004029

Change-Id: Ibafd5b3772b55e1b1fbacd0f696c1bec79296862
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
---
M ovirt-engine-sdk-python.spec.in
1 file changed, 4 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/68/18868/1

diff --git a/ovirt-engine-sdk-python.spec.in b/ovirt-engine-sdk-python.spec.in
index f001726..aee0c45 100644
--- a/ovirt-engine-sdk-python.spec.in
+++ b/ovirt-engine-sdk-python.spec.in
@@ -8,7 +8,7 @@
 Source0:        
http://ovirt.org/releases/stable/src/ovirt-engine-sdk-python-%{version}.tar.gz
 
 BuildRequires: python2-devel
-BuildRequires: python-setuptools-devel
+BuildRequires: python-setuptools
 BuildArch: noarch
 
 Requires: python
@@ -25,14 +25,13 @@
 %setup -q -n %{name}
 
 %build
-%{__python} -c 'import setuptools; execfile("setup.py")' build
+%{__python} setup.py build
 
 %install
-%{__python} -c 'import setuptools; execfile("setup.py")' install -O1 
--skip-build --root %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 %files
-%defattr(-,root,root,-)
-%dir %attr(0755, root, root) %{python_sitelib}/ovirtsdk
+%dir %{python_sitelib}/ovirtsdk
 %{python_sitelib}/ovirtsdk
 %{python_sitelib}/ovirt_engine_sdk_python-*-info
 %doc AUTHORS


-- 
To view, visit http://gerrit.ovirt.org/18868
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibafd5b3772b55e1b1fbacd0f696c1bec79296862
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to