Fixed spec command

Added parsing of patch application macros