- add BuildRequires: kernel-modules for s390x.

This commit is contained in:
Ian Kent 2022-08-15 13:50:30 +08:00
parent 9ba765bc8c
commit 901c8bab00

View File

@ -2,7 +2,7 @@ Summary: Automount utilities including an updated version of Amd
Name: am-utils Name: am-utils
Version: 6.2.0 Version: 6.2.0
%define upstream_version 6.2 %define upstream_version 6.2
Release: 49%{?dist} Release: 50%{?dist}
License: BSD License: BSD
Epoch: 5 Epoch: 5
URL: http://am-utils.org URL: http://am-utils.org
@ -25,6 +25,12 @@ BuildRequires: texinfo
BuildRequires: gcc BuildRequires: gcc
BuildRequires: m4 BuildRequires: m4
BuildRequires: libtirpc-devel BuildRequires: libtirpc-devel
%ifarch s390x
# configure can't find kernel modules on s390x without this package.
# dracut fails of course but the modules are present for configure
# to use.
BuildRequires: kernel-modules
%endif
BuildRequires: kernel-headers BuildRequires: kernel-headers
BuildRequires: libnsl2-devel BuildRequires: libnsl2-devel
BuildRequires: rpcsvc-proto-devel BuildRequires: rpcsvc-proto-devel
@ -281,6 +287,9 @@ fi
%{_libdir}/libamu.so* %{_libdir}/libamu.so*
%changelog %changelog
* Mon Aug 15 2022 Ian Kent <raven@themaw.net> - 5:6.2.0-50
- add BuildRequires: kernel-modules for s390x.
* Mon Aug 15 2022 Ian Kent <raven@themaw.net> - 5:6.2.0-49 * Mon Aug 15 2022 Ian Kent <raven@themaw.net> - 5:6.2.0-49
- fix linux nfs kernel module search. - fix linux nfs kernel module search.
- dont include linux/mount.h. - dont include linux/mount.h.