From 1723724ff6b7f2efe381d6e2635361c2af5bc2d3d983fc0347c798b219b88ff7 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 10 Jul 2007 16:54:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libhugetlbfs?expand=0&rev=3 --- libhugetlbfs.changes | 5 +++++ libhugetlbfs.disable-LDSCRIPT_TESTS.patch | 15 +++++++++++++++ libhugetlbfs.spec | 9 +++++++-- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 libhugetlbfs.disable-LDSCRIPT_TESTS.patch diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index ab67496..46cc574 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 8 09:34:13 CEST 2007 - olh@suse.de + +- disable zero_filesize_segment test + ------------------------------------------------------------------- Sun Apr 15 18:31:53 CEST 2007 - olh@suse.de diff --git a/libhugetlbfs.disable-LDSCRIPT_TESTS.patch b/libhugetlbfs.disable-LDSCRIPT_TESTS.patch new file mode 100644 index 0000000..cfd17a6 --- /dev/null +++ b/libhugetlbfs.disable-LDSCRIPT_TESTS.patch @@ -0,0 +1,15 @@ +--- + tests/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/tests/Makefile ++++ b/tests/Makefile +@@ -10,7 +10,7 @@ LIB_TESTS = gethugepagesize test_root fi + LIB_TESTS_64 = straddle_4GB huge_at_4GB_normal_below \ + huge_below_4GB_normal_above + NOLIB_TESTS = malloc malloc_manysmall dummy +-LDSCRIPT_TESTS = zero_filesize_segment ++LDSCRIPT_TESTS = + HUGELINK_TESTS = linkhuge linkhuge_nofd linkshare + STRESS_TESTS = mmap-gettest mmap-cow shm-gettest shm-getraw shm-fork + HELPERS = get_hugetlbfs_path diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index 86b9c57..a87abe0 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -12,14 +12,15 @@ Name: libhugetlbfs BuildRequires: doxygen -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +License: LGPL v2 or later Group: Development/Libraries/Other Summary: hugetlbfs helper library Version: 1.1 -Release: 1 +Release: 14 URL: http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: libhugetlbfs-1.1.tar.gz +Patch1: libhugetlbfs.disable-LDSCRIPT_TESTS.patch Patch4: libhugetlbfs.make_install.patch %description @@ -35,6 +36,7 @@ Authors: %prep %setup -q +%patch1 -p1 %patch4 -p1 %build @@ -61,6 +63,7 @@ tests= make V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" CC32=gcc CC64= PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install $tests mkdir -p $RPM_BUILD_ROOT/usr/include cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include +chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a %clean rm -rf $RPM_BUILD_ROOT @@ -73,6 +76,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/lib* %changelog +* Sun Jul 08 2007 - olh@suse.de +- disable zero_filesize_segment test * Sun Apr 15 2007 - olh@suse.de - update to version 1.1 (262564 - LTC33711) * Mon Feb 05 2007 - olh@suse.de