Merge pull request #359 from yuwata/kmod-version

configure, kmod: bump kmod version to >= 23
master
Harald Hoyer 2018-01-17 09:51:54 +01:00 committed by GitHub
commit 308c4066fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -52,8 +52,8 @@ while (($# > 0)); do
shift
done

if ! ${PKG_CONFIG} --exists --print-errors " libkmod >= 15 "; then
echo "dracut needs pkg-config and libkmod >= 15." >&2
if ! ${PKG_CONFIG} --exists --print-errors " libkmod >= 23 "; then
echo "dracut needs pkg-config and libkmod >= 23." >&2
exit 1
fi


View File

@ -40,7 +40,7 @@ Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt

BuildRequires: bash git
BuildRequires: kmod-devel >= 15
BuildRequires: kmod-devel >= 23

%if 0%{?fedora} || 0%{?rhel}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)