From 8d6531e640a1c8065b69d81cdd1f9376f38f6b56 Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Thu, 1 Jun 2006 13:30:44 +0000 Subject: [PATCH] - force to use HAVE_LINUX_NFS_MOUNT_H macro, because linux/nfs_mount.h check in configure fails on s390x --- am-utils.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/am-utils.spec b/am-utils.spec index 8bdf96f..045eb31 100644 --- a/am-utils.spec +++ b/am-utils.spec @@ -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 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 5:6.1.5-1 - upgrade - add build depency