!24 fix subunit-notify subunit2gtk command error

From: @hht8
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-10-11 01:10:52 +00:00 committed by Gitee
commit a265a7d885
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From cee8af3d634de74e200de0304e7138b36a2632dc Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Sat, 9 Oct 2021 15:35:52 +0800
Subject: [PATCH] fix subunit-notify command warning
---
filters/subunit-notify | 1 +
1 file changed, 1 insertion(+)
diff --git a/filters/subunit-notify b/filters/subunit-notify
index ade1075..b8fab39 100755
--- a/filters/subunit-notify
+++ b/filters/subunit-notify
@@ -18,6 +18,7 @@
import gi
gi.require_version('Gtk', '3.0')
+gi.require_version('Notify', '0.7')
from gi.repository import Notify
from testtools import StreamToExtendedDecorator
--
2.30.0

View File

@ -1,7 +1,7 @@
%define _unpackaged_files_terminate_build 0
Name: subunit
Version: 1.4.0
Release: 2
Release: 3
Summary: C bindings for subunit
License: ASL 2.0 or BSD
URL: https://launchpad.net/subunit
@ -294,6 +294,11 @@ popd
%exclude %{_bindir}/%{name}-diff
%changelog
* Sat Oct 9 2021 huanghaitao <huanghaitao8@huawei.com> - 1.4.0-3
- Add Requires: python2-gobject-base libnotify >= 0.7.7
- fix command subunit-notify subunit2gtk --help error
- fix command subunit-notify warning
* Sat Sep 11 2021 baizhonggui <baizhonggui@huawei.com> - 1.4.0-2
- New add sub python2 package