From 9304ad516e296bfdbbd46bb26cfe958d04affdc3 Mon Sep 17 00:00:00 2001 From: Asgeir Storesund Nilsen Date: Thu, 16 Jan 2014 10:03:14 +0000 Subject: [PATCH] Fixed SPEC file to work with Red Hat 6.3 x64. --- packaging/RPM/libnfs.spec.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packaging/RPM/libnfs.spec.in b/packaging/RPM/libnfs.spec.in index 450f10f..4b913ac 100644 --- a/packaging/RPM/libnfs.spec.in +++ b/packaging/RPM/libnfs.spec.in @@ -47,8 +47,7 @@ libtoolize -c -f -i automake --add-missing -CFLAGS="$RPM_OPT_FLAGS $EXTRA -O0 -g -D_GNU_SOURCE" ./configure \ - --prefix=%{_prefix} +CFLAGS="$RPM_OPT_FLAGS $EXTRA -O0 -g -D_GNU_SOURCE" %configure %install # Clean up in case there is trash left from a previous build @@ -90,12 +89,14 @@ development libraries for LibNFS %{_includedir}/nfsc/libnfs-raw-nfs.h %{_includedir}/nfsc/libnfs-raw-portmap.h %{_includedir}/nfsc/libnfs-raw-rquota.h +%{_includedir}/nfsc/libnfs-raw-nlm.h +%{_includedir}/nfsc/libnfs-raw-nsm.h %{_libdir}/libnfs.a %{_libdir}/libnfs.la %{_libdir}/pkgconfig/libnfs.pc %changelog -* Sun Wed 30 2013 : Version 1.8 +* Sun Oct 30 2013 : Version 1.8 - Fix nasty memory leak in read_from_socket - minor updates * Sun Oct 20 2013 : Version 1.7 @@ -137,4 +138,4 @@ development libraries for LibNFS - make sure the callback for connect is only invoked once for the sync api - make file offset bits 64 bits always * Sun Jul 31 2011 : Version 1.0 - - Initial version \ No newline at end of file + - Initial version -- 2.34.1