From 8177f9a806198c2b2106404e41d3e0be6b1ecb55 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 13 Jan 2020 15:53:16 -0700 Subject: [PATCH] Add an rpmlintrc file. Use find's -delete feature. --- check.rpmlintrc | 5 +++++ check.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 check.rpmlintrc diff --git a/check.rpmlintrc b/check.rpmlintrc new file mode 100644 index 0000000..aa9d2d2 --- /dev/null +++ b/check.rpmlintrc @@ -0,0 +1,5 @@ +# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON +# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors + +# Documentation is in the devel subpackage +addFilter(r'check-static\.[^:]+: W: no-documentation') diff --git a/check.spec b/check.spec index c26ed70..daf0497 100644 --- a/check.spec +++ b/check.spec @@ -64,7 +64,7 @@ sed -e 's/\(Check: (check)\)Introduction./\1. A unit testing frame -i doc/check.texi # Get rid of version control files -find . -name .cvsignore -exec rm {} + +find . -name .cvsignore -delete # Regenerate configure due to patch 0 autoreconf -ivf