Hello community, here is the log from the commit of package icinga2 for openSUSE:Factory checked in at 2018-07-06 10:48:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icinga2 (Old) and /work/SRC/openSUSE:Factory/.icinga2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icinga2" Fri Jul 6 10:48:27 2018 rev:8 rq:621118 version:2.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/icinga2/icinga2.changes 2018-05-02 12:20:12.560268339 +0200 +++ /work/SRC/openSUSE:Factory/.icinga2.new/icinga2.changes 2018-07-06 10:49:11.314740082 +0200 @@ -1,0 +2,5 @@ +Thu May 24 08:52:47 UTC 2018 - thard...@suse.com + +- allow build hostname to be overwritten by the variable _buildhost + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icinga2.spec ++++++ --- /var/tmp/diff_new_pack.9PAWKG/_old 2018-07-06 10:49:11.954739291 +0200 +++ /var/tmp/diff_new_pack.9PAWKG/_new 2018-07-06 10:49:11.962739282 +0200 @@ -351,7 +351,11 @@ export CXX=g++-4.8 %endif -%{?scl_enable} cmake $CMAKE_OPTS -DCMAKE_C_FLAGS:STRING="%{optflags} %{?march_flag}" -DCMAKE_CXX_FLAGS:STRING="%{optflags} %{?march_flag}" -DICINGA2_BUILD_HOST_NAME:STRING=hostname . +%if "%{?_buildhost}" != "" +CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost" +%endif + +%{?scl_enable} cmake $CMAKE_OPTS -DCMAKE_C_FLAGS:STRING="%{optflags} %{?march_flag}" -DCMAKE_CXX_FLAGS:STRING="%{optflags} %{?march_flag}" . make %{?_smp_mflags}