From e8a67d47c46d074d8a031e70c2cdf5875ef53197 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 5 Jun 2021 11:12:52 -0400 Subject: include output of cgit.conf and git/config.mak in build logs Having the output of the Makefile configuration for cgit and git in the buld logs is useful. It aids in debugging and allows easier verification of the options used for building the code. --- cgit.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cgit.spec b/cgit.spec index 6f806bb..584ff83 100644 --- a/cgit.spec +++ b/cgit.spec @@ -38,7 +38,7 @@ Name: cgit Version: 1.2.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A fast web interface for git License: GPLv2 @@ -149,7 +149,7 @@ cp -p %{SOURCE3} . # Use the same options for every invocation of 'make'. # Otherwise it will rebuild in %%install due to flags changes. -cat << \EOF > cgit.conf +cat << \EOF | tee cgit.conf V = 1 CFLAGS = %{optflags} LDFLAGS = %{?__global_ldflags} @@ -164,7 +164,7 @@ prefix = %{_prefix} EOF # git build flags -cat << \EOF > git/config.mak +cat << \EOF | tee git/config.mak V = 1 CFLAGS = %{optflags} LDFLAGS = %{?__global_ldflags} @@ -228,6 +228,9 @@ make test %changelog +* Sat Jun 05 2021 Todd Zullinger - 1.2.3-5 +- include output of cgit.conf and git/config.mak in build logs + * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -- cgit