Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-opencensus-ext-threading for
openSUSE:Factory checked in at 2021-01-22 21:51:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opencensus-ext-threading (Old)
and /work/SRC/openSUSE:Factory/.python-opencensus-ext-threading.new.28504
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-opencensus-ext-threading"
Fri Jan 22 21:51:44 2021 rev:2 rq:865389 version:0.1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-opencensus-ext-threading/python-opencensus-ext-threading.changes
2020-03-11 18:55:05.627668106 +0100
+++
/work/SRC/openSUSE:Factory/.python-opencensus-ext-threading.new.28504/python-opencensus-ext-threading.changes
2021-01-22 21:51:47.057803153 +0100
@@ -1,0 +2,10 @@
+Thu Jan 21 11:57:26 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Update base archive to opencensus-0.7.12 (no code change for
+ ext-threading)
+- require futures only for python2
+- Use pyunittest macro
+- Add remove-mock.patch
+ gh#census-instrumentation/opencensus-python#1002
+
+-------------------------------------------------------------------
Old:
----
opencensus-0.7.7.tar.gz
New:
----
opencensus-0.7.12.tar.gz
remove-mock.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-opencensus-ext-threading.spec ++++++
--- /var/tmp/diff_new_pack.zBDxAR/_old 2021-01-22 21:51:47.661804009 +0100
+++ /var/tmp/diff_new_pack.zBDxAR/_new 2021-01-22 21:51:47.665804015 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-opencensus-ext-threading
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,9 @@
#
-%define repo_version 0.7.7
+%define repo_version 0.7.12
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-opencensus-ext-threading
Version: 0.1.2
Release: 0
@@ -25,11 +26,15 @@
License: Apache-2.0
URL: https://github.com/census-instrumentation/opencensus-python
Source:
https://github.com/census-instrumentation/opencensus-python/archive/v%{repo_version}.tar.gz#/opencensus-%{repo_version}.tar.gz
-BuildRequires: %{python_module mock}
+# PATCH-FIX-UPSTREAM remove-mock.patch
gh#census-instrumentation/opencensus-python#1002
+Patch0: remove-mock.patch
BuildRequires: %{python_module opencensus}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
+%if %{with python2}
BuildRequires: python-futures
+BuildRequires: python-mock
+%endif
BuildRequires: python-rpm-macros
Requires: python-opencensus
BuildArch: noarch
@@ -43,6 +48,9 @@
%prep
%setup -q -n opencensus-python-%{repo_version}/contrib/opencensus-ext-threading
+pushd ../..
+%patch0 -p1
+popd
# for discovery to work
touch tests/__init__.py
@@ -62,7 +70,7 @@
}
%check
-%python_exec -m unittest discover -v
+%pyunittest discover -v
%files %{python_files}
%doc CHANGELOG.md README.rst
++++++ opencensus-0.7.7.tar.gz -> opencensus-0.7.12.tar.gz ++++++
++++ 7914 lines of diff (skipped)
++++++ remove-mock.patch ++++++
++++ 1230 lines (skipped)