- strip test binaries to fix build

OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2010-06-18 14:41:55 +00:00 committed by Git OBS Bridge
parent 155441db59
commit 45b1352052
2 changed files with 8 additions and 5 deletions

View File

@ -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 Tue Feb 9 09:29:27 UTC 2010 - trenn@novell.com

View File

@ -45,11 +45,6 @@ Patch5: libhugetlbfs.run_test_fix.patch
The libhugetlbfs package interacts with the Linux hugetlbfs to The libhugetlbfs package interacts with the Linux hugetlbfs to
make large pages available to applications in a transparent manner. make large pages available to applications in a transparent manner.
Authors:
--------
David Gibson <dwg@au1.ibm.com>
Adam Litke <agl@us.ibm.com>
%package libhugetlb-devel %package libhugetlb-devel
License: LGPLv2.1+ License: LGPLv2.1+
Summary: Devel package for libhugetlb Summary: Devel package for libhugetlb
@ -85,6 +80,9 @@ make \
mkdir -p $RPM_BUILD_ROOT/usr/include mkdir -p $RPM_BUILD_ROOT/usr/include
cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include
chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a
for file in $RPM_BUILD_ROOT/%_libdir/libhugetlbfs/tests/*/*; do
strip $file || :
done
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT