forked from pool/python-PySDL2
Accepting request 1038348 from home:munix9:branches:devel:languages:python
- Add fix-version_test.patch (gh#py-sdl/py-sdl2#248): Don't assert that SDL_GetRevision() starts with http - Skip rpmlint error python-tests-in-package I don't know exactly if the sdl2/test directories could be completely deleted in %install. I first chose the solution with rpmlintrc to filter the message "E: python-tests-in-package", similar to other python packages. OBS-URL: https://build.opensuse.org/request/show/1038348 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySDL2?expand=0&rev=25
This commit is contained in:
@@ -24,8 +24,11 @@ Summary: Python ctypes wrapper around SDL2
|
||||
License: SUSE-Public-Domain
|
||||
URL: https://github.com/py-sdl/py-sdl2
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-%{version}.tar.gz
|
||||
Source99: python-PySDL2.rpmlintrc
|
||||
# PATCH-FIX-OPENSUSE fix-tests.patch to make test work in chroot env without access to /dev/input
|
||||
Patch0: fix-tests.patch
|
||||
# PATCH-FIX-UPSTREAM fix-version_test.patch gh#py-sdl/py-sdl2#248
|
||||
Patch1: fix-version_test.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
|
Reference in New Issue
Block a user