Hello community, here is the log from the commit of package python-PySDL2 for openSUSE:Factory checked in at 2019-01-24 14:03:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PySDL2 (Old) and /work/SRC/openSUSE:Factory/.python-PySDL2.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PySDL2" Thu Jan 24 14:03:01 2019 rev:2 rq:659304 version:0.9.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PySDL2/python-PySDL2.changes 2018-03-09 10:37:12.342968737 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySDL2.new.28833/python-PySDL2.changes 2019-01-24 14:03:02.648076907 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:52:49 UTC 2018 - Matej Cepl <mc...@suse.com> + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PySDL2.spec ++++++ --- /var/tmp/diff_new_pack.ChOaXj/_old 2019-01-24 14:03:03.172076309 +0100 +++ /var/tmp/diff_new_pack.ChOaXj/_new 2019-01-24 14:03:03.172076309 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PySDL2 # -# 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 @@ -12,35 +12,34 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Can't be properly tested without full desktop system %bcond_with test +%if %{with test} +%define X_display ":98" +BuildRequires: %{python_module pytest} +BuildRequires: SDL2 +BuildRequires: SDL2_ttf +BuildRequires: xorg-x11-server +%endif Name: python-PySDL2 Version: 0.9.6 Release: 0 -License: SUSE-Public-Domain Summary: Python SDL2 bindings -Url: https://github.com/marcusva/py-sdl2 +License: SUSE-Public-Domain Group: Development/Languages/Python +URL: https://github.com/marcusva/py-sdl2 Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module pytest} -BuildRequires: SDL2 -BuildRequires: SDL2_ttf -BuildRequires: xorg-x11-server -%define X_display ":98" -%endif Requires: SDL2 Requires: SDL2_ttf BuildArch: noarch - %python_subpackages %description @@ -75,8 +74,8 @@ %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.txt COPYING.txt README.rst +%license COPYING.txt +%doc AUTHORS.txt README.rst %{python_sitelib}/* %changelog