From b6fcb6b12fe670901ad5a1a100741c4b6014ca88 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:07:10 +0100 Subject: [PATCH] move .la files from devel to main package because required at run time [release 0.3.20201218-2mamba;Sun Dec 11 2022] --- pinball.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pinball.spec b/pinball.spec index 0a0993d..7404f3c 100644 --- a/pinball.spec +++ b/pinball.spec @@ -1,12 +1,12 @@ Name: pinball Version: 0.3.20201218 -Release: 1mamba +Release: 2mamba Summary: The Emilia Pinball Project Group: Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://pinball.sourceforge.net/ +URL: https://pinball.sourceforge.net/ Source0: http://downloads.sourceforge.net/pinball/pinball-%{version}.tar.gz Source1: %{name}.png Patch0: %{name}-0.3.1-sys-ltdl.patch @@ -22,7 +22,6 @@ BuildRequires: libSDL-devel BuildRequires: libSDL_image-devel BuildRequires: libSDL_mixer-devel BuildRequires: libSM-devel -BuildRequires: libbsd-devel BuildRequires: libdirectfb-devel BuildRequires: libgcc BuildRequires: libglvnd-devel @@ -49,6 +48,8 @@ This package contains libraries and header files needed for development. %debug_package +%global __brp_remove_la_files %nil + %prep %setup -q #%patch0 -p1 -z .sys-ltdl @@ -103,6 +104,9 @@ EOF %{_libdir}/pinball/libModuleProfessor.so.* %{_libdir}/pinball/libModuleTux.so.* %{_libdir}/pinball/libModuleTest.so.* +%{_libdir}/pinball/libModuleProfessor.la +%{_libdir}/pinball/libModuleTux.la +%{_libdir}/pinball/libModuleTest.la %{_datadir}/pixmaps/pinball.png %{_datadir}/applications/EmiliaPinball.desktop %dir %{_datadir}/games/pinball @@ -130,9 +134,6 @@ EOF %dir %{_includedir}/pinball %{_includedir}/pinball/*.h %dir %{_libdir}/pinball -%{_libdir}/pinball/libModuleProfessor.la -%{_libdir}/pinball/libModuleTux.la -%{_libdir}/pinball/libModuleTest.la %{_libdir}/pinball/libModuleTest.so %{_libdir}/pinball/libModuleTux.so %{_libdir}/pinball/libModuleProfessor.so @@ -145,6 +146,9 @@ EOF %doc ChangeLog README %changelog +* Sun Dec 11 2022 Silvan Calarco 0.3.20201218-2mamba +- move .la files from devel to main package because required at run time + * Mon Mar 21 2022 Automatic Build System 0.3.20201218-1mamba - automatic version update by autodist