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