tlog v7 on RHEL6
by Krecmer, Frantisek
Hello,
could you please help me building tlog-7 RPM package for RHEL6? (I need to get rid of systemd dependency).
I run configure with –disable-journal flag:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-journal && make
./configure --prefix=/usr --sysconfdir=/etc --disable-journal && make dist
I tried to modify .spec file to be sure first condition is met.
#%if 0%{?rhel} == 0 && 0%{?rhel} < 7
# If it's RHEL6 and older
#%bcond_with systemd
#%else
%bcond_without systemd
#%endif
but result is still the same:
$ rpmbuild -tb tlog-7.tar.gz
error: Failed build dependencies:
pkgconfig(libsystemd) is needed by tlog-7-1.el6.x86_64
Please advise, thank you.
Frantisek Krecmer
4 years, 4 months