From 2de9cf80a9f35567a4c601798b859b63f38a3410 Mon Sep 17 00:00:00 2001 From: hht8 Date: Sat, 9 Oct 2021 17:39:11 +0800 Subject: [PATCH] fix subunit-notify subunit2gtk command error --- fix-subunit-notify-command-warning.patch | 24 ++++++++++++++++++++++++ subunit.spec | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 fix-subunit-notify-command-warning.patch diff --git a/fix-subunit-notify-command-warning.patch b/fix-subunit-notify-command-warning.patch new file mode 100644 index 0000000..833eb0b --- /dev/null +++ b/fix-subunit-notify-command-warning.patch @@ -0,0 +1,24 @@ +From cee8af3d634de74e200de0304e7138b36a2632dc Mon Sep 17 00:00:00 2001 +From: 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 + diff --git a/subunit.spec b/subunit.spec index 8a547f4..8d5272d 100644 --- a/subunit.spec +++ b/subunit.spec @@ -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 - 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 - 1.4.0-2 - New add sub python2 package