add /etc/init.d/maxscale to the package

This commit is contained in:
Timofey Turenko 2014-06-26 15:23:22 +03:00
parent 22827e7c8d
commit 10ac2cb6e6

View File

@ -39,9 +39,11 @@ ln -s /lib64/libaio.so.1 /lib64/libaio.so
%install
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d/
mkdir -p $RPM_BUILD_ROOT/etc/init.d/
mkdir -p $RPM_BUILD_ROOT%{install_path}
cp -r binaries/* $RPM_BUILD_ROOT%{install_path}
cp maxscale.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
cp -r etc/init.d/maxscale $RPM_BUILD_ROOT/etc/init.d/
%clean
@ -49,5 +51,6 @@ cp maxscale.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
%defattr(-,root,root)
%{install_path}
/etc/ld.so.conf.d/maxscale.conf
/etc/inid.d/maxscale
%changelog