*.log4cplus->*.log

This commit is contained in:
Christopher Meng 2015-09-15 13:53:53 +08:00
parent 801f749a5f
commit 10f6d962b1
1 changed files with 5 additions and 3 deletions

View File

@ -82,7 +82,7 @@ libstatgrab. This extends the use of libstatgrab to people writing scripts or
anything else that can't easily make C function calls. Included with statgrab
is a script to generate an MRTG configuration file to use statgrab.
# TODO: F25 must drop -compat.
# TODO: F23+2 must drop -compat?
%package compat
Summary: Transition package for statgrab-tools
Obsoletes: statgrab-tools < 1:0.91-0
@ -99,6 +99,8 @@ do not reference it or depend on it in any way.
# Instead of wasting several lines to install these programs, makefile hack
# will save the time.
sed -i 's|noinst_PROGRAMS|bin_PROGRAMS|g' examples/Makefile*
# Place log files underneath /var/log.
sed -i 's|@localstatedir@|@localstatedir@/log|g;s|.log4cplus|.log|g' *.properties.in
%build
cp -pf %{S:1} .
@ -166,7 +168,7 @@ make check
%license COPYING
%{_bindir}/saidar
%if %{with log4cplus}
%{_sysconfdir}/saidar.properties
%config(noreplace) %{_sysconfdir}/saidar.properties
%endif
%{_mandir}/*/saidar*
@ -174,7 +176,7 @@ make check
%license COPYING
%{_bindir}/statgrab*
%if %{with log4cplus}
%{_sysconfdir}/statgrab.properties
%config(noreplace) %{_sysconfdir}/statgrab.properties
%endif
%{_mandir}/*/*statgrab*