hguemar pushed to python-novaclient (master). "Drop unneeded patches (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 10:50:01 UTC 2015


>From 96ceb4f120d14f849aa78d4b3de4dbf371cb7b81 Mon Sep 17 00:00:00 2001
From: Haikel Guemar <hguemar at fedoraproject.org>
Date: Fri, 27 Mar 2015 11:45:04 +0100
Subject: Drop unneeded patches

- New Requires: python-netifaces, python-pbr
- Fix documentation build

diff --git a/python-novaclient.spec b/python-novaclient.spec
index d05554b..58c16d8 100644
--- a/python-novaclient.spec
+++ b/python-novaclient.spec
@@ -1,7 +1,7 @@
 Name:             python-novaclient
 Epoch:            1
 Version:          2.20.0
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          Python API and CLI for OpenStack Nova
 
 Group:            Development/Languages
@@ -9,14 +9,13 @@ License:          ASL 2.0
 URL:              http://pypi.python.org/pypi/%{name}
 Source0:          http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
 
-Patch0001: 0001-Remove-runtime-dependency-on-python-pbr.patch
-Patch0002: 0002-Use-oslo.sphinx-instead-of-oslosphinx.patch
-
 BuildArch:        noarch
 BuildRequires:    python-setuptools
 BuildRequires:    python2-devel
 BuildRequires:    python-d2to1
 BuildRequires:    python-pbr
+BuildRequires:    python-keystoneclient
+BuildRequires:    python-netifaces
 
 Requires:         python-argparse
 Requires:         python-iso8601
@@ -29,6 +28,8 @@ Requires:         python-babel
 Requires:         python-keystoneclient
 Requires:         python-keyring
 Requires:         python-setuptools
+Requires:         python-pbr
+Requires:         python-netifaces
 
 %description
 This is a client for the OpenStack Nova API. There's a Python API (the
@@ -52,12 +53,6 @@ This package contains auto-generated documentation.
 %prep
 %setup -q
 
-%patch0001 -p1
-%patch0002 -p1
-
-# We provide version like this in order to remove runtime dep on pbr.
-sed -i s/REDHATNOVACLIENTVERSION/%{version}/ novaclient/__init__.py
-
 # Remove bundled egg-info
 rm -rf python_novaclient.egg-info
 
@@ -98,6 +93,11 @@ rm -fr html/.doctrees html/.buildinfo
 %doc html
 
 %changelog
+* Fri Mar 27 2015 Haïkel Guémar <hguemar at fedoraproject.org> - 1:2.20.0-2
+- Drop unneeded patches
+- New Requires: python-netifaces, python-pbr
+- Fix documentation build
+
 * Fri Oct 03 2014 Jakub Ruzicka <jruzicka at redhat.com> 1:2.20.0-1
 - Update to upstream 2.20.0
 - New Requires: python-oslo-utils, python-keystoneclient
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-novaclient.git/commit/?h=master&id=96ceb4f120d14f849aa78d4b3de4dbf371cb7b81


More information about the scm-commits mailing list