diff --git a/hwloc.spec b/hwloc.spec index b2689ff..e12bf6b 100644 --- a/hwloc.spec +++ b/hwloc.spec @@ -86,6 +86,9 @@ Requires: %{name}-plugins%{?_isa} = %{version}-%{release} %autosetup -p1 %build +# The ./configure script will support --runstatedir= when generated with +# autoconf 2.70. Until then, tell it about /run using the export: +export runstatedir=/run %configure --enable-plugins --disable-silent-rules # Remove rpaths sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool