[python-psphere] rebase with upstream 0.5.2

Ian McLeod imcleod at fedoraproject.org
Wed Aug 28 23:38:48 UTC 2013


commit e27cff98660f4082bb543acb6b64b03f9d44f9b5
Author: Ian McLeod <imcleod at redhat.com>
Date:   Wed Aug 28 18:38:32 2013 -0500

    rebase with upstream 0.5.2

 .gitignore          |    1 +
 python-psphere.spec |   55 ++++++++++++++++++++------------------------------
 sources             |    2 +-
 3 files changed, 24 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6086c06..05f512c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /psphere-0.1.4.tar.gz
+/python-psphere-0.5.2.tar.gz
diff --git a/python-psphere.spec b/python-psphere.spec
index e8a5395..532e5f2 100644
--- a/python-psphere.spec
+++ b/python-psphere.spec
@@ -1,55 +1,44 @@
 Summary: vSphere SDK for Python
 Name: python-psphere
-Version: 0.1.4
-Release: 5%{?dist}
-Source0: https://bitbucket.org/jkinred/psphere/downloads/psphere-%{version}.tar.gz
+Version: 0.5.2
+Release: 1%{?dist}
+Source0: %{name}-%{version}.tar.gz
 License: ASL 2.0
 Group: Development/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
+Prefix: %{_prefix}
 BuildArch: noarch
+Url: http://jkinred.bitbucket.org/psphere
 BuildRequires: python-setuptools
 Requires: python-suds
-URL: http://jkinred.bitbucket.org/psphere
-
 
 %description
-pSphere provides native Python bindings for the vSphere Web Services SDK
-(formerly known as VMware Infrastructure SDK). The project is in its early
-phases but can already perform most query operations and virtual machine
-creation.
-
-pSphere is in no way affiliated with VMware Inc.
-
+This is a simple Python binding for elements of the vsphere SOAP-API
 
 %prep
-%setup -q -n psphere-%{version}
-sed -i '/\/usr\/bin\/env python/d' psphere/scripting.py
-
+%setup -n %{name}-%{version} -n %{name}-%{version}
 
 %build
-%{__python} setup.py build
-
+python setup.py build
 
 %install
-%{__python} setup.py install --root=$RPM_BUILD_ROOT --skip-build
-
+python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
 
-%files
-%{python_sitelib}/psphere/
-%{python_sitelib}/psphere-*.egg-info
+%clean
+rm -rf $RPM_BUILD_ROOT
 
+%files -f INSTALLED_FILES
+%defattr(-,root,root)
 
 %changelog
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.4-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.4-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+* Wed Aug 28 2013 Ian McLeod <imcleod at redhat.com> - 0.5.2-1
+- rebase with upstream 0.5.2
 
-* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+* Thu Mar 15 2012 Ian McLeod <imcleod at redhat.com> - 0.1-5
+- Remove Vendor field from SPEC file
 
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.4-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+* Fri Jan 20 2012 Ian McLeod <imcleod at redhat.com> - 0.1-4
+- Add DistributedVirtualPortgroup to support new style distributed switches
 
-* Thu Jul 14 2011 Chris Lalancette <clalance at redhat.com> - 0.1.4-1
-- Initial package.
+* Wed Jun 08 2011 Richard Su <rwsu at redhat.com> - 0.1-3
+- pull new upstream version
diff --git a/sources b/sources
index 445da21..f0a37c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ad89bac02df9afc6be70cdc2c58e56b3  psphere-0.1.4.tar.gz
+14a3339ffe6e9e35d243b7d22d76510b  python-psphere-0.5.2.tar.gz


More information about the scm-commits mailing list