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:
parent
6fd68e32c2
commit
b821d5a7cf
@ -29,11 +29,17 @@ Source: %name-%version.tar.xz
|
|||||||
Source2: %name-%version.tar.xz.asc
|
Source2: %name-%version.tar.xz.asc
|
||||||
#BuildRequires: autoconf >= 2.60, automake >= 1.10
|
#BuildRequires: autoconf >= 2.60, automake >= 1.10
|
||||||
BuildRequires: pkgconfig >= 0.23
|
BuildRequires: pkgconfig >= 0.23
|
||||||
BuildRequires: systemd
|
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
%if 0%{?sles_version}
|
||||||
|
BuildRequires: libHX-devel >= 3.12
|
||||||
|
%else
|
||||||
BuildRequires: pkgconfig(libHX) >= 3.12
|
BuildRequires: pkgconfig(libHX) >= 3.12
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1220
|
||||||
|
BuildRequires: systemd
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Modern rotational hard disks have a misfeature involving the regular
|
Modern rotational hard disks have a misfeature involving the regular
|
||||||
|
Loading…
Reference in New Issue
Block a user