[packaging] Fix build problem in spec