From 9670e6b48e87e23bb5fc642eef203a4b2d699ae2c798112283b9c00cc4e8e67a Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 7 Mar 2014 13:55:29 +0000 Subject: [PATCH] osc copypac from project:Cloud:OpenStack:Havana package:python-cinderclient revision:7 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-cinderclient?expand=0&rev=14 --- _service | 10 +++++----- python-cinderclient.changes | 7 +++++++ python-cinderclient.spec | 6 +++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/_service b/_service index 2c62bfc..e8fab3c 100644 --- a/_service +++ b/_service @@ -1,10 +1,10 @@ - - http://tarballs.openstack.org/python-cinderclient/python-cinderclient-1.0.7.tar.gz - opensuse-cloud@opensuse.org - True + + enable + + + python-cinderclient - enable diff --git a/python-cinderclient.changes b/python-cinderclient.changes index 2b0187d..f92ab85 100644 --- a/python-cinderclient.changes +++ b/python-cinderclient.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 14 10:50:57 UTC 2014 - speilicke@suse.com + +- Replace git_tarballs source service with download_files and set_version + + Use upstream URL as source (enables verification) +- Only require argparse on SLE + ------------------------------------------------------------------- Wed Jan 29 09:12:35 UTC 2014 - speilicke@suse.com diff --git a/python-cinderclient.spec b/python-cinderclient.spec index 3349b41..93031fc 100644 --- a/python-cinderclient.spec +++ b/python-cinderclient.spec @@ -25,7 +25,7 @@ Summary: Openstack Block Storage (Cinder) API Client License: Apache-2.0 Group: Development/Languages/Python Url: http://launchpad.net/python-cinderclient -Source: python-cinderclient-1.0.7.tar.gz +Source: http://tarballs.openstack.org/python-cinderclient/python-cinderclient-1.0.7.tar.gz BuildRequires: openstack-suse-macros BuildRequires: python-base BuildRequires: python-pbr @@ -36,13 +36,13 @@ BuildRequires: python-requests Requires: python >= 2.6.8 Requires: python-Babel >= 1.3 Requires: python-PrettyTable >= 0.6 -Requires: python-argparse Requires: python-pbr >= 0.5.21 Requires: python-requests >= 1.1 Requires: python-simplejson >= 2.0.9 Requires: python-six >= 1.4.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 +Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch @@ -83,7 +83,7 @@ Requires: python-testtools >= 0.9.32 This package contains testsuite files for %{name}. %prep -%setup -q -n python-cinderclient-1.0.7 +%setup -q -n python-cinderclient-%{version} %openstack_cleanup_prep echo %{version} > cinderclient/versioninfo