Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
0267779ae4 | |||
b718b12c04 | |||
a365ca992c | |||
6cb784db47 |
@@ -1,11 +1 @@
|
|||||||
# lto go home you're drunk
|
addFilter("shlib-fixed-dependency")
|
||||||
addFilter("lto-no-text-in-archive")
|
|
||||||
|
|
||||||
# another false positive
|
|
||||||
# [ 40s] sdl12_compat-devel.x86_64: E: no-library-dependency-for /usr/lib64/libSDL-1.2.so
|
|
||||||
# [ 40s] The package misses dependency on a library package that provides the shared
|
|
||||||
# [ 40s] library.
|
|
||||||
addFilter("no-library-dependency-for")
|
|
||||||
|
|
||||||
# only triggers on 15.3, hmm
|
|
||||||
addFilter("shlib-policy-name-error")
|
|
||||||
|
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 30 02:13:56 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Document workaround for Leap 15's not-so-capable pkg-config.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Sep 26 19:02:23 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sdl12_compat
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -31,6 +31,8 @@ Source9: %name-rpmlintrc
|
|||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(sdl2)
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
|
BuildRequires: pkgconfig(xproto)
|
||||||
|
|
||||||
# A list of known apps/issues is at
|
# A list of known apps/issues is at
|
||||||
# docs.google.com/spreadsheets/d/1u8Rq3LVQYYgu28sBuxrZ371QolbiZu5z_LjENc4ddZs/edit
|
# docs.google.com/spreadsheets/d/1u8Rq3LVQYYgu28sBuxrZ371QolbiZu5z_LjENc4ddZs/edit
|
||||||
@@ -43,8 +45,7 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes.
|
|||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libSDL-1_2-0
|
%requires_eq libSDL2-2_0-0
|
||||||
%requires_eq %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libSDL2.so))
|
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
This is the "Simple DirectMedia Layer" library built from sdl12_compat.
|
This is the "Simple DirectMedia Layer" library built from sdl12_compat.
|
||||||
@@ -77,11 +78,13 @@ library.
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
# pkgconfig 0.x does not know "Provides" lines; work around it.
|
||||||
ln -s sdl12_compat.pc "$b/%_libdir/pkgconfig/sdl.pc"
|
ln -s sdl12_compat.pc "$b/%_libdir/pkgconfig/sdl.pc"
|
||||||
|
%endif
|
||||||
rm -v "$b/%_libdir"/*.a
|
rm -v "$b/%_libdir"/*.a
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Reference in New Issue
Block a user