Hello community, here is the log from the commit of package python-pyee for openSUSE:Factory checked in at 2018-07-31 15:56:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyee (Old) and /work/SRC/openSUSE:Factory/.python-pyee.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyee" Tue Jul 31 15:56:37 2018 rev:2 rq:624307 version:5.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes 2018-03-16 10:39:44.648261577 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyee.new/python-pyee.changes 2018-07-31 15:56:38.371265909 +0200 @@ -1,0 +2,6 @@ +Thu Jul 19 15:54:33 UTC 2018 - [email protected] + +- Clean up SPEC +- Add missing BuildRequires + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyee.spec ++++++ --- /var/tmp/diff_new_pack.qbMqOE/_old 2018-07-31 15:56:38.887266781 +0200 +++ /var/tmp/diff_new_pack.qbMqOE/_new 2018-07-31 15:56:38.891266788 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyee # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,6 +13,7 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,18 +21,21 @@ Name: python-pyee Version: 5.0.0 Release: 0 -License: MIT Summary: A port of node.js's EventEmitter to python -Url: https://github.com/jfhbrook/pyee +License: MIT Group: Development/Languages/Python +URL: https://github.com/jfhbrook/pyee Source: https://files.pythonhosted.org/packages/source/p/pyee/pyee-%{version}.tar.gz Source99: https://raw.githubusercontent.com/jfhbrook/pyee/master/LICENSE # PATCH-FIX-UPSTREAM fix-build-requirements.patch Patch0: fix-build-requirements.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} +BuildRequires: %{python_module hamcrest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module vcversioner} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION test requirements %if %{with test} BuildRequires: %{python_module Twisted} @@ -40,9 +44,6 @@ BuildRequires: python3-pytest-asyncio %endif # /SECTION -BuildRequires: fdupes -BuildArch: noarch - %python_subpackages %description @@ -61,7 +62,7 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} && %{suse_version} >= 1500 +%if %{with test} && 0%{?suse_version} >= 1500 %check # Only run tests for python3 %{python_expand # @@ -72,7 +73,6 @@ %endif %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE %{python_sitelib}/*
