From 61d97a425bd8c8144d2f183c442fd0e3a95f6f62d533d35fc9718172d9835f83 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 4 Dec 2020 11:21:14 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=50 --- SDL_bgi-rpmlintrc | 3 ++- SDL_bgi.spec | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/SDL_bgi-rpmlintrc b/SDL_bgi-rpmlintrc index 49f1cb0..5491609 100644 --- a/SDL_bgi-rpmlintrc +++ b/SDL_bgi-rpmlintrc @@ -1,2 +1,3 @@ -# Go home rpmlint, you are drunk. libSDL_bgisuse3 is not the right name. +# Go home rpmlint 1.x, you are drunk. libSDL_bgisuse3 (for +# libSDL_bgi.so.suse3) is not the right name, it's libSDL_bgi-suse3. addFilter("shlib-policy-name-error") diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 2b576f7..1cf744a 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -17,7 +17,8 @@ Name: SDL_bgi -%define lname libSDL_bgi-suse5 +%define sover 5 +%define lname libSDL_bgi-suse%sover Version: 2.4.2 Release: 0 Summary: BGI-compatible 2D graphics C library with SDL backend @@ -81,7 +82,7 @@ rm -v "%buildroot/%_includedir/graphics.h" %files -n %lname %license LICENSE -%_libdir/libSDL_bgi.so.suse4 +%_libdir/libSDL_bgi.so.suse%sover %files -n libSDL_bgi-devel %_defaultdocdir/%name/