SHA256
1
0
forked from pool/parkverbot

Non-systemd non-pkgconfig systems support

OBS-URL: https://build.opensuse.org/package/show/utilities/parkverbot?expand=0&rev=8
This commit is contained in:
Jan Engelhardt 2012-12-03 15:40:14 +00:00 committed by Git OBS Bridge
parent 6fd68e32c2
commit b821d5a7cf

View File

@ -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