Compare commits

...

2 Commits

Author SHA256 Message Date
a365ca992c Require x11/xproto
Packages exercising SDL/X11, such as sdl12-compat,
need to buildrequire it themselves.

References: https://github.com/libsdl-org/sdl2-compat/issues/405
2025-03-13 09:19:02 +01:00
6cb784db47 Delete self-conflicts 2025-03-10 20:21:13 +01:00
2 changed files with 14 additions and 2 deletions

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Mar 13 08:18:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Require x11/xproto (optional components) for building
sdl12-compat itself
-------------------------------------------------------------------
Mon Mar 10 19:20:29 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Delete self-conflicts
-------------------------------------------------------------------
Tue Sep 26 19:02:23 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

@ -1,7 +1,7 @@
#
# spec file for package sdl12_compat
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,6 +31,8 @@ Source9: %name-rpmlintrc
BuildRequires: cmake
BuildRequires: pkg-config
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xproto)
# A list of known apps/issues is at
# docs.google.com/spreadsheets/d/1u8Rq3LVQYYgu28sBuxrZ371QolbiZu5z_LjENc4ddZs/edit
@ -43,7 +45,6 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes.
%package -n %lname
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Group: System/Libraries
Conflicts: libSDL-1_2-0
%requires_eq %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libSDL2.so))
%description -n %lname