build_inf_centos: add meta-patches
[pti/rtp.git] / scripts / build_inf_centos / meta-patches / cgcs-root / stx / integ / 0001-python-kubernetes-fix-MANIFEST.patch
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
5
6 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
7 ---
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
14
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
16 new file mode 100644
17 index 0000000..0a8c6e2
18 --- /dev/null
19 +++ b/python/python-kubernetes/centos/meta_patches/0002-MANIFEST.in-ignore-symlinks.patch
20 @@ -0,0 +1,34 @@
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
25 +
26 +Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
27 +---
28 + SPECS/python-kubernetes.spec | 3 +++
29 + 1 file changed, 3 insertions(+)
30 +
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
40
41 + %if 0%{?with_python2}
42 + %package -n python2-%{library}
43 +@@ -170,6 +171,8 @@ patch -p1 < %{SOURCE15}
44 + popd
45 + popd
46
47 ++patch -p1 < %{SOURCE16}
48 ++
49 + %build
50 + %if 0%{?with_python2}
51 + # NOTE: py2_build macro is called py_build in our loadbuild servers
52 +-- 
53 +2.29.2
54 +
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
59 @@ -1 +1,2 @@
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
63 new file mode 100644
64 index 0000000..02f7cc2
65 --- /dev/null
66 +++ b/python/python-kubernetes/centos/patches/0014-MANIFEST.in-ignore-symlinks.patch
67 @@ -0,0 +1,26 @@
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
72 +
73 +Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
74 +---
75 + MANIFEST.in | 3 +++
76 + 1 file changed, 3 insertions(+)
77 +
78 +diff --git a/MANIFEST.in b/MANIFEST.in
79 +index f16bc61..f184a7a 100644
80 +--- a/MANIFEST.in
81 ++++ b/MANIFEST.in
82 +@@ -5,5 +5,8 @@ include *.txt
83 + include *.ini
84 + exclude .gitignore
85 + exclude .gitreview
86 ++exclude */config
87 ++exclude */stream
88 ++exclude */watch
89
90 + global-exclude *.pyc
91 +-- 
92 +2.29.2
93 +
94 -- 
95 2.7.4
96