From 0d332d8af2337b4d7295cd6cd66f5cbf7c0a6150 Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Fri, 7 Mar 2014 02:34:05 +0200 Subject: [PATCH] fix ldconfig file in the package --- maxscale.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maxscale.spec b/maxscale.spec index a1e5b9672..07a14966a 100644 --- a/maxscale.spec +++ b/maxscale.spec @@ -35,6 +35,7 @@ ln -s /lib64/libaio.so.1 /lib64/libaio.so /sbin/ldconfig %install +mkdir -p /etc/ld.so.conf.d/ mkdir -p $RPM_BUILD_ROOT%{install_path} cp -r binaries/* $RPM_BUILD_ROOT%{install_path} cp maxscale.conf /etc/ld.so.conf.d/ @@ -44,5 +45,6 @@ cp maxscale.conf /etc/ld.so.conf.d/ %files %defattr(-,root,root) %{install_path} +/etc/ld.so.conf.d/maxscale.conf %changelog