Commit 193274f8 authored by Andrew McNab's avatar Andrew McNab
Browse files

Finish transititon

parent 4f2bf727
Name: mjf-torque
Name: mjf-scripts
Version: %(echo ${MJF_VERSION:-0.0})
Release: 1
BuildArch: noarch
......@@ -10,6 +10,13 @@ Vendor: GridPP
Packager: Andrew McNab <Andrew.McNab@cern.ch>
%description
MJF implementations following HSF-TN-2016-02
%package -n mjf-torque
Group: System Environment/Daemons
Summary: Machine/Job Features for Torque/PBS
%description -n mjf-torque
MJF following HSF-TN-2016-02 for Torque/PBS
%package -n mjf-htcondor
......@@ -29,18 +36,18 @@ Currently this only creates $MACHINEFEATURES!
%install
make install
%post
%post -n mjf-torque
chkconfig mjf on
service mjf start
%preun
%preun -n mjf-torque
if [ "$1" = "0" ] ; then
# if uninstallation rather than upgrade then stop
chkconfig mjf off
service mjf stop
fi
%files
%files -n mjf-torque
/var/lib/torque/mom_priv
/etc/rc.d/init.d/*
/etc/profile.d/*
......@@ -56,6 +63,6 @@ if [ "$1" = "0" ] ; then
service mjf stop
fi
%file -n mjf-htcondor
%files -n mjf-htcondor
/etc/rc.d/init.d/*
/etc/profile.d/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment