diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index 5cfddb4..e0694a2 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 18 14:41:41 UTC 2010 - coolo@novell.com + +- strip test binaries to fix build + ------------------------------------------------------------------- Tue Feb 9 09:29:27 UTC 2010 - trenn@novell.com diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index 30e934a..47c493b 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -29,7 +29,7 @@ Obsoletes: libhugetlbfs-64bit %endif # Version: 2.5 -Release: 3 +Release: 4 Url: http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT @@ -45,11 +45,6 @@ Patch5: libhugetlbfs.run_test_fix.patch The libhugetlbfs package interacts with the Linux hugetlbfs to make large pages available to applications in a transparent manner. -Authors: --------- - David Gibson - Adam Litke - %package libhugetlb-devel License: LGPLv2.1+ Summary: Devel package for libhugetlb @@ -85,6 +80,9 @@ make \ mkdir -p $RPM_BUILD_ROOT/usr/include cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a +for file in $RPM_BUILD_ROOT/%_libdir/libhugetlbfs/tests/*/*; do + strip $file || : +done %clean rm -rf $RPM_BUILD_ROOT