diff --git a/kmod.spec b/kmod.spec index c366d93..93ce801 100644 --- a/kmod.spec +++ b/kmod.spec @@ -31,7 +31,11 @@ Url: http://www.jonmasters.org/blog/2011/12/20/libkmod-replaces-modul Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.tar.xz Source2: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.tar.sign BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} >= 1220 BuildRequires: libxslt-tools +%else +BuildRequires: libxslt +%endif BuildRequires: pkgconfig >= 0.21 BuildRequires: xz BuildRequires: pkgconfig(liblzma) >= 4.99