diff --git a/Makefile.common b/Makefile.common index 92ad8f5..4c9fe52 100644 --- a/Makefile.common +++ b/Makefile.common @@ -187,6 +187,7 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content git commit --amend --no-edit Change* ; \ fi @$(MAKE) -s for-review.txt + diffstat for-review.txt @printf "\n**\n" @printf "** NOTICE: A patch with changes is available in the file for-review.txt\n" @printf "** To recreate (e.g., after git commit --amend), run make for-review.txt\n" diff --git a/patchfilter.py b/patchfilter.py index dbbe5be..b638c0c 100644 --- a/patchfilter.py +++ b/patchfilter.py @@ -265,6 +265,7 @@ def main(): zap_line_in_file_start(".spec", "%description dev") zap_line_in_file_start(".spec", "%description license") zap_line_in_file_start(".spec", "%package doc") + zap_line_in_file_start(".spec", "cp -a ") zap_line_in_file_start("b/Makefile", "URL =") zap_line_in_file_start("b/Makefile", "PKG_NAME :=")