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
|
Thu Mar 9 09:10:07 UTC 2017 - fschnizlein@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libhugetlbfs
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,9 +20,9 @@
|
|||||||
Name: libhugetlbfs
|
Name: libhugetlbfs
|
||||||
Version: 2.20
|
Version: 2.20
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Hugetlbfs helper library
|
Summary: Helper library for the Huge Translation Lookaside Buffer Filesystem
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/Other
|
Group: System/Libraries
|
||||||
Url: https://github.com/libhugetlbfs/libhugetlbfs
|
Url: https://github.com/libhugetlbfs/libhugetlbfs
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: baselibs.conf
|
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.
|
make large pages available to applications in a transparent manner.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Devel package for libhugetlb
|
Summary: Development files for libhugetlbfs
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libhugetlbfs
|
Requires: libhugetlbfs
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Devel package, header and static library, of libhugetlb
|
Devel package, header and static library, of libhugetlbfs.
|
||||||
|
|
||||||
%package tests
|
%package tests
|
||||||
Summary: Tests for package libhugetlb
|
Summary: Tests for package libhugetlbfs
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Tools/Other
|
||||||
|
|
||||||
%description tests
|
%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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -80,14 +81,16 @@ make %{my_make_flags} install-tests
|
|||||||
mkdir -p %{buildroot}%{_prefix}/include
|
mkdir -p %{buildroot}%{_prefix}/include
|
||||||
cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include
|
cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include
|
||||||
chmod 644 %{buildroot}%{_libdir}/*.a
|
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
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc LGPL-2.1 HOWTO README NEWS
|
%doc LGPL-2.1 HOWTO README NEWS
|
||||||
%{_datadir}/libhugetlbfs
|
%{_datadir}/libhugetlbfs
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man*/*.gz
|
%{_mandir}/man[178]/*%{?ext_man}
|
||||||
%{_libdir}/libhugetlbfs_privutils.so
|
%{_libdir}/libhugetlbfs_privutils.so
|
||||||
%{_libdir}/libhugetlbfs.so
|
%{_libdir}/libhugetlbfs.so
|
||||||
|
|
||||||
@ -95,10 +98,10 @@ chmod 644 %{buildroot}%{_libdir}/*.a
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_includedir}/hugetlbfs.h
|
%{_includedir}/hugetlbfs.h
|
||||||
%{_libdir}/libhugetlbfs.a
|
%{_libdir}/libhugetlbfs.a
|
||||||
|
%{_mandir}/man3/*%{?ext_man}
|
||||||
|
|
||||||
%files tests
|
%files tests
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/libhugetlbfs
|
%{_libdir}/libhugetlbfs/
|
||||||
%{_libdir}/libhugetlbfs/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user