diff --git a/tlog.spec b/tlog.spec index ad9bf3f..6ad9ed5 100644 --- a/tlog.spec +++ b/tlog.spec @@ -11,6 +11,7 @@ BuildRequires: gcc BuildRequires: json-c-devel BuildRequires: curl-devel BuildRequires: m4 +BuildRequires: libutempter-devel # If it's not RHEL6 and older %if 0%{?rhel} == 0 || 0%{?rhel} >= 7 BuildRequires: systemd-devel @@ -34,7 +35,7 @@ in JSON format. %build # If it's not RHEL6 and older %if 0%{?rhel} == 0 || 0%{?rhel} >= 7 -%configure --disable-rpath --disable-static +%configure --disable-rpath --disable-static --enable-utempter # Else, if it's RHEL6 or older %else %configure --disable-rpath --disable-static --disable-journal