diff --git a/parkverbot.spec b/parkverbot.spec index 0f51d49..b15ef29 100644 --- a/parkverbot.spec +++ b/parkverbot.spec @@ -29,11 +29,17 @@ Source: %name-%version.tar.xz Source2: %name-%version.tar.xz.asc #BuildRequires: autoconf >= 2.60, automake >= 1.10 BuildRequires: pkgconfig >= 0.23 -BuildRequires: systemd BuildRequires: xz +%if 0%{?sles_version} +BuildRequires: libHX-devel >= 3.12 +%else BuildRequires: pkgconfig(libHX) >= 3.12 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: systemd %systemd_requires +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Modern rotational hard disks have a misfeature involving the regular