From d76928811376a64347edfc75c36b158ddc12e0d8 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 17 Sep 2020 16:38:49 +0800 Subject: [PATCH] Build without hesiod --- autofs.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/autofs.spec b/autofs.spec index 8e08cf2..aaca6ce 100644 --- a/autofs.spec +++ b/autofs.spec @@ -1,6 +1,6 @@ Name: autofs Version: 5.1.4 -Release: 23 +Release: 24 Epoch: 1 Summary: A tool for automatically mounting and unmounting filesystems License: GPLv2+ @@ -46,7 +46,7 @@ Requires: bash coreutils sed gawk grep module-init-tools procps Requires(post): systemd-sysv systemd-units Requires(preun): systemd-units Requires(postun): systemd-units -BuildRequires: systemd-units systemd-devel autoconf hesiod-devel openldap-devel bison flex libxml2-devel +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 Conflicts: cyrus-sasl-lib < 2.1.23-9 @@ -69,7 +69,7 @@ echo %{version}-%{release} > .version %build LDFLAGS=-Wl,-z,now -%configure --disable-mount-locking --enable-ignore-busy --enable-forced-shutdown --with-libtirpc --with-systemd +%configure --disable-mount-locking --enable-ignore-busy --enable-forced-shutdown --without-hesiod --with-libtirpc --with-systemd make initdir=%{_initrddir} DONTSTRIP=1 %install @@ -120,6 +120,9 @@ install -m 600 samples/autofs_ldap_auth.conf $RPM_BUILD_ROOT/etc/autofs_ldap_aut %{_mandir}/*/* %changelog +* Thu Sep 17 2020 lingsheng - 1:5.1.4-24 +- Build without hesiod + * Tue Nov 26 2019 gulining - 1:5.1.4-23 - modify spec