fix distinguish %pre/%prep