Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package SDL_bgi for openSUSE:Factory checked 
in at 2024-02-29 21:49:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SDL_bgi (Old)
 and      /work/SRC/openSUSE:Factory/.SDL_bgi.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SDL_bgi"

Thu Feb 29 21:49:32 2024 rev:26 rq:1153042 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/SDL_bgi/SDL_bgi.changes  2022-12-16 
17:52:04.468157275 +0100
+++ /work/SRC/openSUSE:Factory/.SDL_bgi.new.1770/SDL_bgi.changes        
2024-02-29 21:49:43.492592958 +0100
@@ -1,0 +2,7 @@
+Wed Feb 28 20:16:30 UTC 2024 - Jaime Marquínez Ferrándiz 
<[email protected]>
+
+- 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.)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ SDL_bgi.spec ++++++
--- /var/tmp/diff_new_pack.L5achf/_old  2024-02-29 21:49:45.428664332 +0100
+++ /var/tmp/diff_new_pack.L5achf/_new  2024-02-29 21:49:45.428664332 +0100
@@ -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 @@
 %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 @@
 %_libdir/libSDL_bgi.so.*
 
 %files -n libSDL_bgi-devel
-%_defaultdocdir/%name/
+%_docdir/%name/
 %_includedir/*
 %_libdir/libSDL_bgi.so
 %_mandir/man3/*

Reply via email to