diff --git a/tlog.spec b/tlog.spec index c6bf057..eec7363 100644 --- a/tlog.spec +++ b/tlog.spec @@ -61,7 +61,11 @@ Requires(postun): systemd %else BuildRequires: pkgconfig(json-c) BuildRequires: pkgconfig(libcurl) +%if %{defined suse_version} +BuildRequires: utempter-devel +%else BuildRequires: libutempter-devel +%endif %if %{with systemd} BuildRequires: pkgconfig(libsystemd) @@ -79,7 +83,7 @@ in JSON format. %setup -q %build -%configure --disable-rpath --disable-static --enable-utempter %{!?with_systemd:--disable-journal} +%configure --disable-rpath --disable-static --enable-utempter %{!?with_systemd:--disable-journal} --docdir=%{_defaultdocdir}/%{name} %make_build %check