diff --git a/python-PySDL2.changes b/python-PySDL2.changes index ec3ebfa..a74abae 100644 --- a/python-PySDL2.changes +++ b/python-PySDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:49 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Nov 7 18:24:56 UTC 2017 - toddrme2178@gmail.com diff --git a/python-PySDL2.spec b/python-PySDL2.spec index 7e3060b..c7dfe68 100644 --- a/python-PySDL2.spec +++ b/python-PySDL2.spec @@ -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 -Name: python-PySDL2 -Version: 0.9.6 -Release: 0 -License: SUSE-Public-Domain -Summary: Python SDL2 bindings -Url: https://github.com/marcusva/py-sdl2 -Group: Development/Languages/Python -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} +%define X_display ":98" BuildRequires: %{python_module pytest} BuildRequires: SDL2 BuildRequires: SDL2_ttf BuildRequires: xorg-x11-server -%define X_display ":98" %endif +Name: python-PySDL2 +Version: 0.9.6 +Release: 0 +Summary: Python SDL2 bindings +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 setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: SDL2 Requires: SDL2_ttf BuildArch: noarch - %python_subpackages %description @@ -75,8 +74,8 @@ popd %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