Fix build error

This commit is contained in:
starlet-dx 2023-02-03 16:06:18 +08:00
parent f3acb5878e
commit e0dee84ffd

View File

@ -1,6 +1,6 @@
Name: autofs
Version: 5.1.8
Release: 1
Release: 2
Epoch: 1
Summary: A tool for automatically mounting and unmounting filesystems
License: GPL-2.0+ and GPL-2.0
@ -14,6 +14,7 @@ Requires(postun): systemd-units
BuildRequires: systemd-units systemd-devel autoconf openldap-devel bison flex libxml2-devel
BuildRequires: cyrus-sasl-devel openssl-devel module-init-tools util-linux e2fsprogs libtirpc-devel
BuildRequires: libsss_autofs libnsl2-devel rpcgen pkgconfig gcc
BuildRequires: krb5-devel
Conflicts: cyrus-sasl-lib < 2.1.23-9
%description
@ -77,7 +78,6 @@ install -m 600 samples/autofs_ldap_auth.conf $RPM_BUILD_ROOT/etc/autofs_ldap_aut
%config(noreplace) /etc/sysconfig/autofs
%config(noreplace) /etc/autofs_ldap_auth.conf
%{_sbindir}/automount
%dir %{_libdir}/autofs
%{_libdir}/libautofs.so
%{_libdir}/autofs/
@ -88,6 +88,9 @@ install -m 600 samples/autofs_ldap_auth.conf $RPM_BUILD_ROOT/etc/autofs_ldap_aut
%{_mandir}/*/*
%changelog
* Fri Feb 03 2023 yaoxin <yaoxin30@h-partners.com> - 1:5.1.8-2
- Fix build error
* Wed Jan 12 2022 caodongxia <caodongxia@huawei.com> - 1:5.1.8-1
- update to 5.1.8