Update to v2.9.0

This commit is contained in:
Michal Schmidt 2023-02-24 21:55:48 +01:00
parent 8ba67a5c69
commit cdbddf089d
2 changed files with 6 additions and 9 deletions

View File

@ -1,10 +1,10 @@
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
Name: hwloc Name: hwloc
Version: 2.5.0 Version: 2.9.0
Release: %autorelease Release: %autorelease
License: BSD License: BSD
URL: http://www.open-mpi.org/projects/hwloc/ URL: http://www.open-mpi.org/projects/hwloc/
Source0: http://www.open-mpi.org/software/hwloc/v2.5/downloads/%{name}-%{version}.tar.bz2 Source0: https://download.open-mpi.org/release/hwloc/v2.9/hwloc-%{version}.tar.bz2
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc BuildRequires: gcc
@ -81,17 +81,14 @@ Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
%autosetup -p1 %autosetup -p1
%build %build
# The ./configure script will support --runstatedir= when generated with %configure --enable-plugins --disable-silent-rules --runstatedir=/run
# autoconf 2.70. Until then, tell it about /run using the export:
export runstatedir=/run
%configure --enable-plugins --disable-silent-rules
# Remove rpaths # Remove rpaths
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" %make_install
# We don't ship .la files. # We don't ship .la files.
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -exec rm -f {} ';'

View File

@ -1 +1 @@
SHA512 (hwloc-2.5.0.tar.bz2) = 9e8b829868cb9f5fd2fe84d8515d0dc8725ddc84c788a61c1e9e918eb2b29659eb73cf22a4189e6b887f5bfa3255c206f4ba924bd7fe2c88c185f4308c0949cd SHA512 (hwloc-2.9.0.tar.bz2) = 45705d30c8a974c6afd998559cd1195e7e478cf01b669ad60c06baeac9d17c5cd163eb00ad12c2187889e9a7ea96ff6d5a3cb414e8e6de7f00a6fa10eb8c7507