From a989cbb9ae934df81d6e2bc84f277d05a90f5b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= Date: Wed, 20 Mar 2024 16:09:11 +0200 Subject: [PATCH] [libsdl-gfx] Declare COPYING as %license. JB#55991 Remove obsolete group tags. Cleanup spec. --- rpm/sdl2_gfx.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/rpm/sdl2_gfx.spec b/rpm/sdl2_gfx.spec index 0091e59..792fc34 100644 --- a/rpm/sdl2_gfx.spec +++ b/rpm/sdl2_gfx.spec @@ -5,7 +5,6 @@ Release: 1 Source: %{name}-%{version}.tar.gz URL: http://sourceforge.net/projects/sdl2gfx/ License: zlib -Group: Applications/Multimedia BuildRequires: pkgconfig(sdl2) %description @@ -14,7 +13,6 @@ polygon, etc.) for SDL2. %package devel Summary: Simple DirectMedia Layer - Graphics Primitives (Development) -Group: Development/Libraries Requires: %{name} = %{version} %description devel @@ -22,7 +20,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2. %prep -%setup -q -n %{name}-%{version}/%{name} +%autosetup -n %{name}-%{version}/%{name} %build # Fix a build error in OBS (see http://stackoverflow.com/q/10085554) @@ -38,14 +36,13 @@ autoreconf -fvi %install %make_install -%post -/sbin/ldconfig +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig +%postun -p /sbin/ldconfig %files %defattr(644,root,root) +%license COPYING %doc AUTHORS INSTALL NEWS README %{_libdir}/lib*.so.*