Script 'mail_helper' called by obssrc
Hello community,

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

Package is "openttd"

Thu Feb 29 21:50:03 2024 rev:55 rq:1153109 version:13.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/openttd/openttd.changes  2023-07-30 
20:58:09.159355311 +0200
+++ /work/SRC/openSUSE:Factory/.openttd.new.1770/openttd.changes        
2024-02-29 21:50:24.366099782 +0100
@@ -1,0 +2,5 @@
+Tue Feb 27 22:27:24 UTC 2024 - Jaime Marquínez Ferrándiz 
<jaime.marquinez.ferran...@fastmail.net>
+
+- Use the correct documentation's path.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openttd.spec ++++++
--- /var/tmp/diff_new_pack.s5vhwn/_old  2024-02-29 21:50:24.950121312 +0100
+++ /var/tmp/diff_new_pack.s5vhwn/_new  2024-02-29 21:50:24.950121312 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openttd
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2007-2012 The OpenTTD developers
 #
 # All modifications and additions to the file contributed by third parties
@@ -121,13 +121,21 @@
 export CXXFLAGS=-fPIE
 # first, we build the dedicated binary inside dedicated/
 %define __builddir dedicated
-%cmake -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_DATADIR="share" 
-DOPTION_DEDICATED:BOOL=ON
+%cmake -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_DATADIR="share" \
+%if 0%{?suse_version} < 1600
+    -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
+%endif
+    -DOPTION_DEDICATED:BOOL=ON
 %cmake_build
 cd ..
 
 # then, we build the common gui version which we install the usual way
 %define __builddir build
-%cmake -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_DATADIR="share" 
-DOPTION_DEDICATED:BOOL=OFF
+%cmake -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_DATADIR="share" \
+%if 0%{?suse_version} < 1600
+    -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
+%endif
+    -DOPTION_DEDICATED:BOOL=OFF
 %cmake_build
 
 %install
@@ -178,7 +186,7 @@
 %{_mandir}/man6/%{name}.6%{?ext_man}
 
 %files data
-%{_datadir}/doc/%{name}
+%{_docdir}/%{name}
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/lang
 %{_datadir}/%{name}/baseset

Reply via email to