Updated spec file to cp the version number of the upgraded package.

This commit is contained in:
Cyrus 2019-09-11 09:21:17 -04:00 committed by chubtub
parent 8af49dc6b7
commit a476e0783c

View File

@ -238,6 +238,10 @@ if [ $1 == 0 ]; then
fi
fi
if [ $1 == 2]; then
echo %{?DISPLAY_VERSION} | tee '%{prefix}/webapps/HIRS_AttestationCAPortal/WEB-INF/classes/VERSION'
fi
%files -n HIRS_AttestationCA
%license NOTICE
%attr(664, root, tomcat) %{prefix}/webapps/HIRS_AttestationCA.war