Accepting request 1153042 from graphics
- Align path for document installation between openSUSE versions. (Resolve failure to build the .spec because of a change in the default docdir for %cmake in SUSE.) OBS-URL: https://build.opensuse.org/request/show/1153042 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_bgi?expand=0&rev=26
This commit is contained in:
commit
442ab46bd4
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 20:16:30 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||
|
||||
- Align path for document installation between openSUSE versions.
|
||||
(Resolve failure to build the .spec because of a change in
|
||||
the default docdir for %cmake in SUSE.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 18:02:14 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package SDL_bgi
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -66,14 +66,11 @@ together.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake -DCMAKE_INSTALL_DOCDIR:PATH="%_docdir/%name"
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
b="%buildroot"
|
||||
mkdir -p "$b/%_defaultdocdir"
|
||||
mv "$b/%_datadir/doc/%name" "$b/%_defaultdocdir/"
|
||||
# just a forwarder and conflicts with xbgi
|
||||
rm -v "%buildroot/%_includedir/graphics.h"
|
||||
|
||||
@ -85,7 +82,7 @@ rm -v "%buildroot/%_includedir/graphics.h"
|
||||
%_libdir/libSDL_bgi.so.*
|
||||
|
||||
%files -n libSDL_bgi-devel
|
||||
%_defaultdocdir/%name/
|
||||
%_docdir/%name/
|
||||
%_includedir/*
|
||||
%_libdir/libSDL_bgi.so
|
||||
%_mandir/man3/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user