Accepting request 491627 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/491627 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libhugetlbfs?expand=0&rev=44
This commit is contained in:
commit
b6b2e59afc
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 10:40:04 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update summary and descriptions a bit
|
||||
- Move development manpages (*.3) to development subpackage
|
||||
- Avoid ||/&& in %install because it can leave $? at non-zero
|
||||
(unlike if..fi), and %install is run with sh -x.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 9 09:10:07 UTC 2017 - fschnizlein@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libhugetlbfs
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,9 +20,9 @@
|
||||
Name: libhugetlbfs
|
||||
Version: 2.20
|
||||
Release: 0
|
||||
Summary: Hugetlbfs helper library
|
||||
Summary: Helper library for the Huge Translation Lookaside Buffer Filesystem
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/Other
|
||||
Group: System/Libraries
|
||||
Url: https://github.com/libhugetlbfs/libhugetlbfs
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
@ -46,19 +46,20 @@ The libhugetlbfs package interacts with the Linux hugetlbfs to
|
||||
make large pages available to applications in a transparent manner.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for libhugetlb
|
||||
Group: Development/Libraries/Other
|
||||
Summary: Development files for libhugetlbfs
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libhugetlbfs
|
||||
|
||||
%description devel
|
||||
Devel package, header and static library, of libhugetlb
|
||||
Devel package, header and static library, of libhugetlbfs.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for package libhugetlb
|
||||
Group: Development/Libraries/Other
|
||||
Summary: Tests for package libhugetlbfs
|
||||
Group: Development/Tools/Other
|
||||
|
||||
%description tests
|
||||
The testsuite for libhugetlb. Binaries can be found in %{_libdir}/libhugetlbfs/tests
|
||||
The testsuite for libhugetlbfs. Binaries can be found in
|
||||
%{_libdir}/libhugetlbfs/tests.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -80,14 +81,16 @@ make %{my_make_flags} install-tests
|
||||
mkdir -p %{buildroot}%{_prefix}/include
|
||||
cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include
|
||||
chmod 644 %{buildroot}%{_libdir}/*.a
|
||||
[ ! -f %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript ] || chmod -f a-x %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript
|
||||
if [ -f %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript ]; then
|
||||
chmod -f a-x %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc LGPL-2.1 HOWTO README NEWS
|
||||
%{_datadir}/libhugetlbfs
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man*/*.gz
|
||||
%{_mandir}/man[178]/*%{?ext_man}
|
||||
%{_libdir}/libhugetlbfs_privutils.so
|
||||
%{_libdir}/libhugetlbfs.so
|
||||
|
||||
@ -95,10 +98,10 @@ chmod 644 %{buildroot}%{_libdir}/*.a
|
||||
%defattr(-, root, root)
|
||||
%{_includedir}/hugetlbfs.h
|
||||
%{_libdir}/libhugetlbfs.a
|
||||
%{_mandir}/man3/*%{?ext_man}
|
||||
|
||||
%files tests
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/libhugetlbfs
|
||||
%{_libdir}/libhugetlbfs/*
|
||||
%{_libdir}/libhugetlbfs/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user