- force to use HAVE_LINUX_NFS_MOUNT_H macro, because linux/nfs_mount.h
check in configure fails on s390x
This commit is contained in:
parent
e54489a72a
commit
8d6531e640
@ -1,7 +1,7 @@
|
||||
Summary: Automount utilities including an updated version of Amd.
|
||||
Name: am-utils
|
||||
Version: 6.1.5
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: BSD
|
||||
Epoch: 5
|
||||
Group: System Environment/Daemons
|
||||
@ -11,7 +11,6 @@ Source1: am-utils.init
|
||||
Source2: am-utils.conf
|
||||
Source3: am-utils.sysconf
|
||||
Source4: am-utils.net.map
|
||||
Patch1: am-utils-6.1.1-linuxNfsMountCheck.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
BuildPrereq: gdbm-devel, hesiod-devel, openldap-devel autoconf automake libtool bison
|
||||
Requires: portmap, grep, gawk, findutils
|
||||
@ -35,8 +34,6 @@ mounting and unmounting filesystems.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .linuxNfsMountCheck
|
||||
autoconf
|
||||
|
||||
|
||||
find_requires=%{old_find_requires}
|
||||
@ -46,7 +43,7 @@ chmod +x find-requires
|
||||
%build
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-am-cflags="$RPM_OPT_FLAGS" \
|
||||
--enable-am-cflags="$RPM_OPT_FLAGS -DHAVE_LINUX_NFS_MOUNT_H" \
|
||||
--enable-libs="-lnsl -lresolv"
|
||||
make %{?_smp_flags}
|
||||
|
||||
@ -132,6 +129,10 @@ fi
|
||||
%{_libdir}/libamu.so*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 01 2006 Peter Vrabec <pvrabec@redhat.com> 5:6.1.5-2
|
||||
- force to use HAVE_LINUX_NFS_MOUNT_H macro, because linux/nfs_mount.h
|
||||
check in configure fails on s390x
|
||||
|
||||
* Mon May 29 2006 Peter Vrabec <pvrabec@redhat.com> 5:6.1.5-1
|
||||
- upgrade
|
||||
- add build depency
|
||||
|
Loading…
Reference in New Issue
Block a user