upstream/openstack/python-glance-store/centos/meta_patches/0003-meta-patch-Glance-Driver.patch
slin14 cfaac50247 de-fuzz python-glance-store 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

Story: 2003917
Task: 26970

Change-Id: I85f4fb8a5c5247151720268234db1059c5398696
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-10-09 21:11:00 +08:00

33 lines
940 B
Diff

From bcdcfce2587d467d756d7493f40a41167c2b68ed Mon Sep 17 00:00:00 2001
From: Stefan Dinescu <stefan.dinescu@windriver.com>
Date: Thu, 16 Nov 2017 17:44:10 +0000
Subject: Meta Glance Driver
---
SPECS/python-glance-store.spec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/SPECS/python-glance-store.spec b/SPECS/python-glance-store.spec
index b60bd97..0c0d728 100644
--- a/SPECS/python-glance-store.spec
+++ b/SPECS/python-glance-store.spec
@@ -15,6 +15,7 @@ URL: https://github.com/openstack/%{upstream_name}
Source0: https://tarballs.openstack.org/%{upstream_name}/%{upstream_name}-%{upstream_version}.tar.gz
# WRS
Patch0001: 0001-Check-ceph-cluster-free-space-before-creating-image.patch
+Patch0002: 0002-Add-glance-driver.patch
BuildArch: noarch
@@ -88,6 +89,7 @@ Requires: python3-oslo-privsep >= 1.9.0
# Apply WRS patches
%patch0001 -p1
+%patch0002 -p1
%build
%py2_build
--
2.7.4