Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autojump for openSUSE:Factory checked in at 2022-04-25 23:35:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autojump (Old) and /work/SRC/openSUSE:Factory/.autojump.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autojump" Mon Apr 25 23:35:31 2022 rev:3 rq:972502 version:22.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/autojump/autojump.changes 2019-04-14 12:23:28.395833767 +0200 +++ /work/SRC/openSUSE:Factory/.autojump.new.1538/autojump.changes 2022-04-25 23:35:41.346430054 +0200 @@ -1,0 +2,13 @@ +Fri Apr 22 12:07:10 UTC 2022 - [email protected] + +- do not require pytest-mock for build +- added patches + fix https://github.com/wting/autojump/pull/648 + + autojump-no-mock.patch + +------------------------------------------------------------------- +Thu Oct 17 13:57:31 UTC 2019 - Richard Brown <[email protected]> + +- Remove obsolete Groups tag (fate#326485) + +------------------------------------------------------------------- New: ---- autojump-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autojump.spec ++++++ --- /var/tmp/diff_new_pack.HXIOx2/_old 2022-04-25 23:35:42.574431775 +0200 +++ /var/tmp/diff_new_pack.HXIOx2/_new 2022-04-25 23:35:42.578431780 +0200 @@ -1,7 +1,7 @@ # # spec file for package autojump # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,11 +21,12 @@ Release: 0 Summary: A faster way to navigate the filesystem from a shell License: GPL-3.0-or-later -Group: System/Console -Url: https://github.com/wting/autojump +URL: https://github.com/wting/autojump Source: https://github.com/wting/autojump/archive/release-v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# https://github.com/wting/autojump/pull/648 +Patch0: autojump-no-mock.patch +BuildRequires: python-rpm-macros BuildRequires: python3 -BuildRequires: python3-mock BuildRequires: python3-pytest BuildArch: noarch @@ -38,6 +39,7 @@ %prep %setup -q -n %{name}-release-v%{version} +%patch0 -p1 # Fix shebangs. sed -i 's/env python$/python3/' bin/%{name} ++++++ autojump-no-mock.patch ++++++ diff --git a/tests/unit/autojump_utils_test.py b/tests/unit/autojump_utils_test.py index 07f67b3..386b4cd 100644 --- a/tests/unit/autojump_utils_test.py +++ b/tests/unit/autojump_utils_test.py @@ -3,7 +3,7 @@ import os import sys -import mock +from unittest import mock import pytest sys.path.append(os.path.join(os.getcwd(), 'bin')) # noqa
