Fixed RPM dependencies

The RPMs depended on Perl due to the Nagios scripts that are installed.
This dependency is not needed and should be managed by some other means.
This commit is contained in:
Markus Makela
2016-03-21 10:42:12 +02:00
parent 4ee1f304ca
commit 5f1b46d298
2 changed files with 10 additions and 3 deletions

View File

@ -65,4 +65,11 @@ then
cp -n @MAXSCALE_CONFDIR@/maxscale.cnf.template @MAXSCALE_CONFDIR@/maxscale.cnf
fi
# This will allow us to install the Perl scripts as executable files
# without adding the Perl dependencies
for i in $(find @MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl')
do
chmod ug+x $i
done
/sbin/ldconfig