From a5a264811821630c6d879509d82c8ecc130ddc5b Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Fri, 22 Dec 2023 11:58:07 +0800 Subject: [PATCH] fix gh action Signed-off-by: zhang-liang-pengkun --- 0001-fix-gh-action.patch | 26 ++++++++++++++++++++++++++ python-psutil.spec | 6 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-fix-gh-action.patch diff --git a/0001-fix-gh-action.patch b/0001-fix-gh-action.patch new file mode 100644 index 0000000..6b5cde7 --- /dev/null +++ b/0001-fix-gh-action.patch @@ -0,0 +1,26 @@ +From c0e9e1b4ff694c4dc88540f9868a5a518cbc1604 Mon Sep 17 00:00:00 2001 +From: Giampaolo Rodola +Date: Sat, 19 Dec 2020 21:18:54 +0100 +Subject: [PATCH] fix gh action + +Signed-off-by: Giampaolo Rodola +--- + .github/workflows/issues.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/.github/workflows/issues.py b/.github/workflows/issues.py +index a2beecc7..c9f92d31 100644 +--- a/.github/workflows/issues.py ++++ b/.github/workflows/issues.py +@@ -295,7 +295,7 @@ def main(): + if is_pr(issue): + on_new_pr(issue) + else: +- log("new comment: \n", issue.body) ++ log("new comment: \n" % issue.body) + on_new_comment(issue) + + +-- +2.39.0.windows.2 + diff --git a/python-psutil.spec b/python-psutil.spec index 6a6ee45..5e58fe8 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -1,10 +1,11 @@ Name: python-psutil Version: 5.8.0 -Release: 1 +Release: 2 Summary: A library for retrieving information on running processes and system utilization in Python License: BSD URL: https://github.com/giampaolo/psutil Source0: https://github.com/giampaolo/psutil/archive/release-%{version}.tar.gz#/psutil-%{version}.tar.gz +Patch01: 0001-fix-gh-action.patch BuildRequires: gcc python3-devel procps-ng python3-mock @@ -48,6 +49,9 @@ done %{python3_sitearch}/*.egg-info %changelog +* Thu Oct 23 2023 zhangliangpengkun - 5.8.0-2 +- fix gh action + * Thu Jul 15 2021 OpenStack_SIG - 5.8.0-1 - Update version to 5.8.0 -- Gitee