Build without hesiod
This commit is contained in:
parent
9867084b23
commit
d769288113
@ -1,6 +1,6 @@
|
|||||||
Name: autofs
|
Name: autofs
|
||||||
Version: 5.1.4
|
Version: 5.1.4
|
||||||
Release: 23
|
Release: 24
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A tool for automatically mounting and unmounting filesystems
|
Summary: A tool for automatically mounting and unmounting filesystems
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -46,7 +46,7 @@ Requires: bash coreutils sed gawk grep module-init-tools procps
|
|||||||
Requires(post): systemd-sysv systemd-units
|
Requires(post): systemd-sysv systemd-units
|
||||||
Requires(preun): systemd-units
|
Requires(preun): systemd-units
|
||||||
Requires(postun): 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: cyrus-sasl-devel openssl-devel module-init-tools util-linux e2fsprogs libtirpc-devel
|
||||||
BuildRequires: libsss_autofs libnsl2-devel rpcgen pkgconfig
|
BuildRequires: libsss_autofs libnsl2-devel rpcgen pkgconfig
|
||||||
Conflicts: cyrus-sasl-lib < 2.1.23-9
|
Conflicts: cyrus-sasl-lib < 2.1.23-9
|
||||||
@ -69,7 +69,7 @@ echo %{version}-%{release} > .version
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
LDFLAGS=-Wl,-z,now
|
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
|
make initdir=%{_initrddir} DONTSTRIP=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -120,6 +120,9 @@ install -m 600 samples/autofs_ldap_auth.conf $RPM_BUILD_ROOT/etc/autofs_ldap_aut
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 17 2020 lingsheng <lingsheng@huawei.com> - 1:5.1.4-24
|
||||||
|
- Build without hesiod
|
||||||
|
|
||||||
* Tue Nov 26 2019 gulining<gulining1@huawei.com> - 1:5.1.4-23
|
* Tue Nov 26 2019 gulining<gulining1@huawei.com> - 1:5.1.4-23
|
||||||
- modify spec
|
- modify spec
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user