upstream/openstack/python-openstackclient/centos/meta_patches/1000-remove-version-requirements.patch
slin14 6f62a7dff7 de-fuzz python-openstackclient patch
With rpm version < 4.13, patch cmd will create .orig file for fuzzy
patch in default. And this .orig file may lead to rpmbuild failure
"error: Installed (but unpackaged) file(s) found:"

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Also rename the patch match the PATCH_ORDER

Story: 2003917
Task: 26972

Change-Id: I941281b0fe662b1c6c80fde8fe56ae89dfd05d3b
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-10-09 22:49:14 +08:00

34 lines
1.3 KiB
Diff

diff --git a/SPECS/python-openstackclient.spec b/SPECS/python-openstackclient.spec
index 5d3d7b4..44dd46b 100644
--- a/SPECS/python-openstackclient.spec
+++ b/SPECS/python-openstackclient.spec
@@ -70,17 +70,17 @@ BuildRequires: python-dateutil
Requires: python-pbr
Requires: python-babel
Requires: python-cliff
-Requires: python-openstacksdk >= 0.9.17
-Requires: python-oslo-i18n >= 2.1.0
-Requires: python-oslo-utils >= 3.20.0
-Requires: python-glanceclient >= 1:2.8.0
-Requires: python-keystoneauth1 >= 3.1.0
-Requires: python-keystoneclient >= 1:3.8.0
-Requires: python-novaclient >= 1:9.0.0
-Requires: python-cinderclient >= 3.1.0
-Requires: python-neutronclient >= 6.3.0
-Requires: python-six >= 1.9.0
-Requires: python-osc-lib >= 1.7.0
+Requires: python-openstacksdk
+Requires: python-oslo-i18n
+Requires: python-oslo-utils
+Requires: python-glanceclient
+Requires: python-keystoneauth1
+Requires: python-keystoneclient
+Requires: python-novaclient
+Requires: python-cinderclient
+Requires: python-neutronclient
+Requires: python-six
+Requires: python-osc-lib
Requires: python-%{client}-lang = %{version}-%{release}