1 From 75ace02a50caa1f9a9c9a58a7407bdd969dcf1cc Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Wed, 11 May 2022 18:33:38 +0800
4 Subject: [PATCH] python-kubernetes: fix MANIFEST
6 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
8 .../0002-MANIFEST.in-ignore-symlinks.patch | 34 ++++++++++++++++++++++
9 .../centos/meta_patches/PATCH_ORDER | 1 +
10 .../patches/0014-MANIFEST.in-ignore-symlinks.patch | 26 +++++++++++++++++
11 3 files changed, 61 insertions(+)
12 create mode 100644 python/python-kubernetes/centos/meta_patches/0002-MANIFEST.in-ignore-symlinks.patch
13 create mode 100644 python/python-kubernetes/centos/patches/0014-MANIFEST.in-ignore-symlinks.patch
15 diff --git a/python/python-kubernetes/centos/meta_patches/0002-MANIFEST.in-ignore-symlinks.patch b/python/python-kubernetes/centos/meta_patches/0002-MANIFEST.in-ignore-symlinks.patch
17 index 0000000..0a8c6e2
19 +++ b/python/python-kubernetes/centos/meta_patches/0002-MANIFEST.in-ignore-symlinks.patch
21 +From ed97b779c1ea6d0c2ea434ef8db9a5bf5f0d8ed7 Mon Sep 17 00:00:00 2001
22 +From: Jackie Huang <jackie.huang@windriver.com>
23 +Date: Wed, 11 May 2022 18:29:47 +0800
24 +Subject: [PATCH] MANIFEST.in: ignore symlinks
26 +Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
28 + SPECS/python-kubernetes.spec | 3 +++
29 + 1 file changed, 3 insertions(+)
31 +diff --git a/SPECS/python-kubernetes.spec b/SPECS/python-kubernetes.spec
32 +index 9426462..0d672e0 100644
33 +--- a/SPECS/python-kubernetes.spec
34 ++++ b/SPECS/python-kubernetes.spec
35 +@@ -43,6 +43,7 @@ Source12: 0010-Fixes-codestyle-failures.patch
36 + Source13: 0011-Fix-Watch-retries-with-410-errors.patch
37 + Source14: 0012-Fixes-kubernetes-client-python-issue-1047-ResponseNo.patch
38 + Source15: 0013-quick-fix-of-decoding-error-for-BOOKMARK-event.patch
39 ++Source16: 0014-MANIFEST.in-ignore-symlinks.patch
41 + %if 0%{?with_python2}
42 + %package -n python2-%{library}
43 +@@ -170,6 +171,8 @@ patch -p1 < %{SOURCE15}
47 ++patch -p1 < %{SOURCE16}
50 + %if 0%{?with_python2}
51 + # NOTE: py2_build macro is called py_build in our loadbuild servers
55 diff --git a/python/python-kubernetes/centos/meta_patches/PATCH_ORDER b/python/python-kubernetes/centos/meta_patches/PATCH_ORDER
56 index 926ba15..669982c 100644
57 --- a/python/python-kubernetes/centos/meta_patches/PATCH_ORDER
58 +++ b/python/python-kubernetes/centos/meta_patches/PATCH_ORDER
60 0001-Include-watch.py-bug-fixes.patch
61 +0002-MANIFEST.in-ignore-symlinks.patch
62 diff --git a/python/python-kubernetes/centos/patches/0014-MANIFEST.in-ignore-symlinks.patch b/python/python-kubernetes/centos/patches/0014-MANIFEST.in-ignore-symlinks.patch
64 index 0000000..02f7cc2
66 +++ b/python/python-kubernetes/centos/patches/0014-MANIFEST.in-ignore-symlinks.patch
68 +From a6aee74ecc35b46d1852a70640c2776df579c533 Mon Sep 17 00:00:00 2001
69 +From: Jackie Huang <jackie.huang@windriver.com>
70 +Date: Wed, 11 May 2022 18:17:44 +0800
71 +Subject: [PATCH] MANIFEST.in: ignore symlinks
73 +Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
76 + 1 file changed, 3 insertions(+)
78 +diff --git a/MANIFEST.in b/MANIFEST.in
79 +index f16bc61..f184a7a 100644
82 +@@ -5,5 +5,8 @@ include *.txt
90 + global-exclude *.pyc