configure with runstatedir set to /run

The default was /var/run, which is just a symlink to /run.
This commit is contained in:
Michal Schmidt 2017-11-15 15:40:42 +01:00
parent c032ef0837
commit 8f59909672

View File

@ -86,6 +86,9 @@ Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
%autosetup -p1 %autosetup -p1
%build %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 %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