From: Lubomir Rintel Date: Tue, 28 May 2019 07:36:49 +0000 (+0200) Subject: dracut.spec: fix build on openSUSE X-Git-Tag: 050~162 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d573e3be03928aa82fc6182080f6a263c530ce3;p=thirdparty%2Fdracut.git dracut.spec: fix build on openSUSE When testing the previous commit on openSUSE it turned out that it didn't really work in the first place, without a few tweaks. --- diff --git a/dracut.spec b/dracut.spec index bdf7bb67e..30aee3321 100644 --- a/dracut.spec +++ b/dracut.spec @@ -32,7 +32,7 @@ Source1: https://www.gnu.org/licenses/lgpl-2.1.txt BuildRequires: bash BuildRequires: git -BuildRequires: kmod-devel >= 23 +BuildRequires: pkgconfig(libkmod) >= 23 BuildRequires: gcc %if 0%{?fedora} || 0%{?rhel} @@ -319,6 +319,9 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne %{_mandir}/man8/mkinitrd.8* %{_mandir}/man1/lsinitrd.1* %endif +%if 0%{?suse_version} +%{_mandir}/man8/mkinitrd-suse.8* +%endif %{_mandir}/man7/dracut.kernel.7* %{_mandir}/man7/dracut.cmdline.7* %{_mandir}/man7/dracut.modules.7*