Accepting request 41741 from Base:System
Copy from Base:System/libhugetlbfs based on submit request 41741 from user coolo OBS-URL: https://build.opensuse.org/request/show/41741 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libhugetlbfs?expand=0&rev=17
This commit is contained in:
commit
161a2d9f75
@ -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
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Obsoletes: libhugetlbfs-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Version: 2.5
|
Version: 2.5
|
||||||
Release: 3
|
Release: 4
|
||||||
Url: http://libhugetlbfs.sourceforge.net/
|
Url: http://libhugetlbfs.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user