From 8f5990967282855d4a8622afb9930221abde8b4b Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Nov 16 2017 15:10:36 +0000 Subject: configure with runstatedir set to /run The default was /var/run, which is just a symlink to /run. --- 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