summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2021-06-05 11:12:52 -0400
committerTodd Zullinger <tmz@pobox.com>2021-06-06 16:15:08 -0400
commite8a67d47c46d074d8a031e70c2cdf5875ef53197 (patch)
tree185bf3de6371d1e40d6a8632e702a915439ad9a9
parent69270d5765c9fa5c6bd1c8aae3f66dfc4e5ac4a2 (diff)
downloadcgit_EL6-e8a67d47c46d074d8a031e70c2cdf5875ef53197.tar.gz
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.
-rw-r--r--cgit.spec9
1 files 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 <tmz@pobox.com> - 1.2.3-5
+- include output of cgit.conf and git/config.mak in build logs
+
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild