From 47e921c3ac9ef58d4cc5ed3b83110f42c9b4808b Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Mon, 5 Nov 2018 09:41:36 +0800 Subject: [PATCH] - update spec file to build without hesiod (bz1643258). --- autofs.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/autofs.spec b/autofs.spec index fc01087..aa486e6 100644 --- a/autofs.spec +++ b/autofs.spec @@ -8,7 +8,7 @@ Summary: A tool for automatically mounting and unmounting filesystems Name: autofs Version: 5.1.5 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ Group: System Environment/Daemons @@ -19,7 +19,7 @@ BuildRequires: systemd-units BuildRequires: systemd-devel %endif BuildRequires: gcc -BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel +BuildRequires: autoconf, openldap-devel, bison, flex, libxml2-devel BuildRequires: cyrus-sasl-devel, openssl-devel module-init-tools util-linux BuildRequires: e2fsprogs libtirpc-devel libsss_autofs libnsl2-devel BuildRequires: rpcgen pkgconfig @@ -76,7 +76,12 @@ echo %{version}-%{release} > .version %build LDFLAGS=-Wl,-z,now -%configure --disable-mount-locking --enable-ignore-busy --enable-forced-shutdown --with-libtirpc %{?systemd_configure_arg:} +%configure \ + --disable-mount-locking \ + --enable-ignore-busy \ + --enable-forced-shutdown \ + --without-hesiod \ + --with-libtirpc %{?systemd_configure_arg:} make initdir=%{_initrddir} DONTSTRIP=1 %install @@ -167,6 +172,9 @@ fi %dir /etc/auto.master.d %changelog +* Mon Nov 05 2018 Ian Kent - 1:5.1.5-2 +- update spec file to build without hesiod. + * Mon Nov 05 2018 Ian Kent - 1:5.1.5-1 - update to upstream 5.1.5 release.