!11 Update to 2.7.1 stable

From: @young1c 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-06-15 06:27:04 +00:00 committed by Gitee
commit ab9bc568d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 13 additions and 6 deletions

Binary file not shown.

BIN
hwloc-2.7.1.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: hwloc
Version: 1.11.9
Release: 5
Version: 2.7.1
Release: 1
Summary: Hardware locality utilities and libraries
License: BSD-3-Clause
URL: https://www.open-mpi.org/projects/hwloc/
Source0: https://download.open-mpi.org/release/%{name}/v1.11/%{name}-%{version}.tar.bz2
Source0: https://download.open-mpi.org/release/%{name}/v2.7/%{name}-%{version}.tar.bz2
BuildRequires: gcc-c++ cairo-devel libpciaccess-devel libtool-ltdl-devel libX11-devel libxml2-devel texlive-latex
BuildRequires: desktop-file-utils systemd texlive-makeindex ncurses-devel transfig doxygen
@ -64,7 +64,7 @@ rm %{buildroot}%{_datadir}/%{name}/hwloc-dump-hwdata.service
%endif
%check
LD_LIBRARY_PATH=$PWD/src/.libs make check
LD_LIBRARY_PATH=$PWD/hwloc/.libs make check
%ifarch x86_64
%post
@ -83,15 +83,19 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%{_bindir}/lstopo*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/%{name}.dtd
%{_datadir}/%{name}/%{name}2.dtd
%{_datadir}/%{name}/%{name}2-diff.dtd
%{_datadir}/%{name}/%{name}-valgrind.supp
%{_datadir}/%{name}/%{name}-ps.www
%{_datadir}/applications/lstopo.desktop
%{_datadir}/bash-completion/completions/hwloc
%ifarch x86_64
%{_sbindir}/hwloc-dump-hwdata
%{_unitdir}/hwloc-dump-hwdata.service
%endif
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/hwloc*
%{_libdir}/libhwloc*so.5*
%{_libdir}/libhwloc*so.15*
%files devel
%{_libdir}/pkgconfig/*
@ -107,11 +111,14 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%{_pkgdocdir}/*[^c]
%changelog
* Sun May 22 2022 Yicong Yang <young.yicong@outlook.com> - 2.7.1-1
- Update to 2.7.1 stable
* Mon May 9 2022 caodongxia <caodongxia@h-partners.com> - 1.11.9-5
- License compliance rectification
* Thu Jul 22 2021 shixuantong <shixuantong@huawei.com> - 1.11.9-4
- move %{_pkgdocdir} to help subpackage
* Thu Nov 15 2019 chenzhenyu <chenzhenyu13@huawei.com> - 1.11.9-3
* Fri Nov 15 2019 chenzhenyu <chenzhenyu13@huawei.com> - 1.11.9-3
- Package init