> >> mkdir -p .... > >>cp -p ... > It will be good if you make use of macro like %{__cp} > Please, no! %{__cp} hugely decreases readability and if the situation happens that mkdir and cp are not in the $PATH we will have much bigger problems than running sed on all .spec files. Use just plain Unix commands as $DEITY intended them to be used. Matěj