deal with %REVISION% in control file