- fix typo in libtirpc configure macro.

This commit is contained in:
Ian Kent 2016-09-14 17:56:29 +08:00
parent 4e72d9a683
commit cff2af1e74
2 changed files with 5 additions and 2 deletions

View File

@ -88,6 +88,6 @@ index 0000000..918423c
+ TIRPC_CPPFLAGS="-I/usr/include/tirpc" + TIRPC_CPPFLAGS="-I/usr/include/tirpc"
+ AC_DEFINE(HAVE_LIBTIRPC, 1, [Define to 1 if you have libtirpc headers installed]) + AC_DEFINE(HAVE_LIBTIRPC, 1, [Define to 1 if you have libtirpc headers installed])
+ AC_CHECK_LIB(tirpc, clnt_tli_create, [TIRPC_LIBS="-ltirpc"], [TIRPC_CPPFLAGS=""])]) + AC_CHECK_LIB(tirpc, clnt_tli_create, [TIRPC_LIBS="-ltirpc"], [TIRPC_CPPFLAGS=""])])
+ AMU_CFLAGS="$ANU_CFLAGS $TIRPC_CPPFLAGS" + AMU_CFLAGS="$AMU_CFLAGS $TIRPC_CPPFLAGS"
+ LIBS="$LIBS $TIRPC_LIBS" + LIBS="$LIBS $TIRPC_LIBS"
+]) +])

View File

@ -2,7 +2,7 @@ Summary: Automount utilities including an updated version of Amd
Name: am-utils Name: am-utils
Version: 6.2.0 Version: 6.2.0
%define upstream_version 6.2 %define upstream_version 6.2
Release: 20%{?dist} Release: 21%{?dist}
License: BSD License: BSD
Epoch: 5 Epoch: 5
Group: System Environment/Daemons Group: System Environment/Daemons
@ -251,6 +251,9 @@ fi
%{_libdir}/libamu.so* %{_libdir}/libamu.so*
%changelog %changelog
* Wed Sep 14 2016 Ian Kent <ikent@redhat.com> - 5:6.2.0-21
- fix typo in libtirpc configure macro.
* Wed Sep 14 2016 Ian Kent <ikent@redhat.com> - 5:6.2.0-20 * Wed Sep 14 2016 Ian Kent <ikent@redhat.com> - 5:6.2.0-20
- print_nfs_common_args() is only needed with DEBUG. - print_nfs_common_args() is only needed with DEBUG.
- uid_t might be a different size than unsigned int. - uid_t might be a different size than unsigned int.