add /etc/init.d/maxscale to the package
This commit is contained in:
parent
22827e7c8d
commit
10ac2cb6e6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user