From c42d9595ba1d286afbfa399f81e7dd12d00e4512b1ea43ea580767323a1b1815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 25 Apr 2017 12:29:41 +0000 Subject: [PATCH] - BuildRequire modutils so build script detects modprobe and module autoloading works again (boo#983221) - BuildRequire modutils so build script detects modprobe and module autoloading works again (boo#983221) - BuildRequire modutils so build script detects modprobe and module autoloading works again (boo#983221) OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=180 --- device-mapper.changes | 6 ++++++ lvm2-clvm.changes | 6 ++++++ lvm2.changes | 6 ++++++ lvm2.spec | 3 +++ 4 files changed, 21 insertions(+) diff --git a/device-mapper.changes b/device-mapper.changes index e97074c..884ee8d 100644 --- a/device-mapper.changes +++ b/device-mapper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 24 17:08:34 UTC 2017 - arvidjaar@gmail.com + +- BuildRequire modutils so build script detects modprobe and module + autoloading works again (boo#983221) + ------------------------------------------------------------------- Tue Apr 18 11:07:01 UTC 2017 - tchvatal@suse.com diff --git a/lvm2-clvm.changes b/lvm2-clvm.changes index e97074c..884ee8d 100644 --- a/lvm2-clvm.changes +++ b/lvm2-clvm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 24 17:08:34 UTC 2017 - arvidjaar@gmail.com + +- BuildRequire modutils so build script detects modprobe and module + autoloading works again (boo#983221) + ------------------------------------------------------------------- Tue Apr 18 11:07:01 UTC 2017 - tchvatal@suse.com diff --git a/lvm2.changes b/lvm2.changes index e97074c..884ee8d 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 24 17:08:34 UTC 2017 - arvidjaar@gmail.com + +- BuildRequire modutils so build script detects modprobe and module + autoloading works again (boo#983221) + ------------------------------------------------------------------- Tue Apr 18 11:07:01 UTC 2017 - tchvatal@suse.com diff --git a/lvm2.spec b/lvm2.spec index a2360ff..6c671eb 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -37,6 +37,8 @@ Source42: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz.asc BuildRequires: gcc-c++ BuildRequires: libaio-devel BuildRequires: libselinux-devel +# To detect modprobe during build +BuildRequires: modutils BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: thin-provisioning-tools >= %{thin_provisioning_version} @@ -45,6 +47,7 @@ BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) Requires: device-mapper >= %{device_mapper_version} +Requires: modutils Requires(post): coreutils Requires(postun): coreutils Provides: lvm = %{version}