aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 18:04:28 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 18:04:28 +0000
commit66d20f56cb8d3e1ec2c3e6caca8012e93fb479ec (patch)
tree049eae62afafb94422b010085a6da1b15eb6c50f /deployment
parent89272d8563da77e337fbdd23181e799bd2e90f3f (diff)
downloadpuppet-66d20f56cb8d3e1ec2c3e6caca8012e93fb479ec.tar
puppet-66d20f56cb8d3e1ec2c3e6caca8012e93fb479ec.tar.gz
puppet-66d20f56cb8d3e1ec2c3e6caca8012e93fb479ec.tar.bz2
puppet-66d20f56cb8d3e1ec2c3e6caca8012e93fb479ec.tar.xz
puppet-66d20f56cb8d3e1ec2c3e6caca8012e93fb479ec.zip
mga_buildsystem: add $mga3_rpmlint
Diffstat (limited to 'deployment')
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp43
1 files changed, 41 insertions, 2 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index df7114ff..57dd62b2 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -297,6 +297,45 @@ class mga_buildsystem::config {
],
}
+ # rpmlint check options for Mageia 3
+ $mga3_rpmlint = {
+ 'config' => '/usr/share/rpmlint/config',
+ 'path' => '/usr/bin/rpmlint',
+ 'results' => [
+ 'buildprereq-use',
+ 'no-description-tag',
+ 'no-summary-tag',
+ 'non-standard-group',
+ 'non-xdg-migrated-menu',
+ 'percent-in-conflicts',
+ 'percent-in-dependency',
+ 'percent-in-obsoletes',
+ 'percent-in-provides',
+ 'summary-ended-with-dot',
+ 'unexpanded-macro',
+ 'unknown-lsb-keyword',
+ 'malformed-line-in-lsb-comment-block',
+ 'empty-%postun',
+ 'empty-%post',
+ 'invalid-desktopfile',
+ 'standard-dir-owned-by-package',
+ 'use-tmp-in-%postun',
+ 'bogus-variable-use-in-%posttrans',
+ 'dir-or-file-in-usr-local',
+ 'dir-or-file-in-tmp',
+ 'dir-or-file-in-mnt',
+ 'dir-or-file-in-opt',
+ 'dir-or-file-in-home',
+ 'dir-or-file-in-var-local',
+ 'tmpfiles-conf-in-etc',
+ 'non-ghost-in-run',
+ 'non-ghost-in-var-run',
+ 'non-ghost-in-var-lock',
+ 'systemd-unit-in-etc',
+ 'udev-rule-in-etc',
+ ],
+ }
+
# rpmlint check options for cauldron
$cauldron_rpmlint = {
'config' => '/usr/share/rpmlint/config',
@@ -464,13 +503,13 @@ class mga_buildsystem::config {
'upload' => {
'targets' => $std_youri_upload_targets,
'checks' => {
- 'rpmlint' => $mga2_rpmlint,
+ 'rpmlint' => $mga3_rpmlint,
},
},
'todo' => {
'targets' => $std_youri_todo_targets,
'checks' => {
- 'rpmlint' => $mga2_rpmlint,
+ 'rpmlint' => $mga3_rpmlint,
'version' => $std_version_check,
},
},