Adds the bash completion script to install proc

Change-Id: I79058663d1c22c2efb70ec87384486ccaf9be14b
This commit is contained in:
Bruno Cornec 2017-03-28 11:54:40 +02:00
parent 2fef892201
commit a7ce70b5ef
2 changed files with 4 additions and 1 deletions

View File

@ -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
# 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
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
for i in 1; do

View File

@ -127,6 +127,7 @@ done
%files -n PBREALPKG-data
%config(noreplace) %{_sysconfdir}/redfish-client.conf
%config(noreplace) %{_sysconfdir}/bash_completion.d/redfish-client.bash
%dir %{_datadir}/redfish-client
%{_datadir}/redfish-client/templates/*
%{_datadir}/redfish-client/*.txt