From 829d33f9651da469a962bffe78b70b839b9930fc3644b7fceba0e67258c77144 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Mon, 10 Feb 2014 15:57:51 +0000 Subject: [PATCH 1/2] - There are no tests installed in s390(x) case, therefore there are no files in %{_libdir}/libhugetlbfs Remove the directory from the file list to fix package build for s390(x) OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=34 --- libhugetlbfs.changes | 7 +++++++ libhugetlbfs.spec | 3 +++ 2 files changed, 10 insertions(+) diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index db66f13..0f5bf56 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 10 15:56:31 UTC 2014 - trenn@suse.de + +- There are no tests installed in s390(x) case, therefore there are no + files in %{_libdir}/libhugetlbfs + Remove the directory from the file list to fix package build for s390(x) + ------------------------------------------------------------------- Sat Jan 11 05:56:47 UTC 2014 - normand@linux.vnet.ibm.com diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index b55fd5e..948903e 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -16,6 +16,7 @@ # + Name: libhugetlbfs %if 0%{?suse_version} > 1140 @@ -108,8 +109,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man*/*.gz %{_libdir}/libhugetlbfs_privutils.so %{_libdir}/libhugetlbfs.so +%ifarch ppc ppc64 ppc64le %ix86 x86_64 %dir %{_libdir}/libhugetlbfs %{_libdir}/libhugetlbfs/* +%endif # ToDo: What are these for... %dir /usr/lib/perl5/TLBC /usr/lib/perl5/TLBC/DataCollect.pm From 538cdfab50fecdf1d4ad1c5c4435917b73138ac37f76c4f8acffbecb2e5db3e6 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Tue, 11 Feb 2014 08:10:12 +0000 Subject: [PATCH 2/2] - Tests compile fine for s390(x), also include them in the package, the same way it is done for other archs as well. OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=35 --- libhugetlbfs.changes | 6 ++++++ libhugetlbfs.spec | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index 0f5bf56..f5ba77b 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 11 08:09:11 UTC 2014 - trenn@suse.de + +- Tests compile fine for s390(x), also include them in the package, the same + way it is done for other archs as well. + ------------------------------------------------------------------- Mon Feb 10 15:56:31 UTC 2014 - trenn@suse.de diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index 948903e..c8a5855 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -79,11 +79,8 @@ Devel package, header and static library, of libhugetlb make %{my_make_flags} %install -tests= -%ifarch ppc ppc64 ppc64le %ix86 x86_64 tests=install-tests make %{my_make_flags} install $tests -%endif make \ %ifarch sparc sparcv9 CC32="gcc" CC64="" NATIVEONLY=1 \ @@ -109,10 +106,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man*/*.gz %{_libdir}/libhugetlbfs_privutils.so %{_libdir}/libhugetlbfs.so -%ifarch ppc ppc64 ppc64le %ix86 x86_64 %dir %{_libdir}/libhugetlbfs %{_libdir}/libhugetlbfs/* -%endif # ToDo: What are these for... %dir /usr/lib/perl5/TLBC /usr/lib/perl5/TLBC/DataCollect.pm