Adds the bash completion script to install proc
Change-Id: I79058663d1c22c2efb70ec87384486ccaf9be14b
This commit is contained in:
parent
2fef892201
commit
a7ce70b5ef
@ -25,8 +25,10 @@ $python setup.py install --skip-build --root=$rootdir --prefix=$prefix
|
|||||||
rm -rf $rootdir/$sitelib/redfish/old $rootdir/$prefix/share/doc/$5/html $rootdir/$prefix/share/doc/$5/*.pdf
|
rm -rf $rootdir/$sitelib/redfish/old $rootdir/$prefix/share/doc/$5/html $rootdir/$prefix/share/doc/$5/*.pdf
|
||||||
|
|
||||||
# Hardcoded for now to solve the delivery of the conf file still not correct with setup.py
|
# Hardcoded for now to solve the delivery of the conf file still not correct with setup.py
|
||||||
mkdir -p $rootdir/etc
|
install -d 755 $rootdir/etc
|
||||||
mv $rootdir/$prefix/etc/redfish-client.conf $rootdir/etc/redfish-client.conf
|
mv $rootdir/$prefix/etc/redfish-client.conf $rootdir/etc/redfish-client.conf
|
||||||
|
install -d 755 $rootdir/etc/bash_completion.d
|
||||||
|
install -m 644 redfish-client/etc/bash_completion.d/redfish-client.bash $rootdir/etc/bash_completion.d
|
||||||
|
|
||||||
# Man pages installation
|
# Man pages installation
|
||||||
for i in 1; do
|
for i in 1; do
|
||||||
|
@ -127,6 +127,7 @@ done
|
|||||||
|
|
||||||
%files -n PBREALPKG-data
|
%files -n PBREALPKG-data
|
||||||
%config(noreplace) %{_sysconfdir}/redfish-client.conf
|
%config(noreplace) %{_sysconfdir}/redfish-client.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/bash_completion.d/redfish-client.bash
|
||||||
%dir %{_datadir}/redfish-client
|
%dir %{_datadir}/redfish-client
|
||||||
%{_datadir}/redfish-client/templates/*
|
%{_datadir}/redfish-client/templates/*
|
||||||
%{_datadir}/redfish-client/*.txt
|
%{_datadir}/redfish-client/*.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user