Removing error message from build.log

The macro _httpd_mmn produces error message "file not found"
but it is not actually error. This patch hides the error
message to avoid confusion.

Error is printed in early stage when httpd-devel is not installed
yet. Later in the build it works.
This commit is contained in:
Tomas Halman 2021-04-30 14:07:57 +02:00
parent ba829a428d
commit ba46e78791

View File

@ -1,4 +1,4 @@
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo 0-0)}}
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
%{!?_httpd_moddir: %{expand: %%global _httpd_moddir %%{_libdir}/httpd/modules}}
%{!?_httpd_confdir: %{expand: %%global _httpd_confdir %{_sysconfdir}/httpd/conf.d}}