From 8f5990967282855d4a8622afb9930221abde8b4b Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Wed, 15 Nov 2017 15:40:42 +0100 Subject: [PATCH] configure with runstatedir set to /run The default was /var/run, which is just a symlink to /run. --- hwloc.spec | 3 +++ 1 file changed, 3 insertions(+) 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