Fixed #4580 -- Deprecated %profile.
Merge pull request #4625 from onceuponatimeforever/4580

Deprecate %profile magic