aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mga_buildsystem
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-07-15 18:52:34 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-07-15 18:52:34 +0200
commit4a2fc83ed30fdc5c15d00b12a601fea99633009a (patch)
tree49bf35ed3437e9d197e197e762df36e643abef06 /deployment/mga_buildsystem
parent480944688821db2677ff1ed7bae23353c30cf9b7 (diff)
downloadpuppet-4a2fc83ed30fdc5c15d00b12a601fea99633009a.tar
puppet-4a2fc83ed30fdc5c15d00b12a601fea99633009a.tar.gz
puppet-4a2fc83ed30fdc5c15d00b12a601fea99633009a.tar.bz2
puppet-4a2fc83ed30fdc5c15d00b12a601fea99633009a.tar.xz
puppet-4a2fc83ed30fdc5c15d00b12a601fea99633009a.zip
Add iurt support for mageia 6
Diffstat (limited to 'deployment/mga_buildsystem')
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp69
1 files changed, 69 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index 99c24b98..c1fbdd2f 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -461,6 +461,45 @@ class mga_buildsystem::config {
'udev-rule-in-etc',
],
}
+
+ # rpmlint check options for Mageia 6
+ $mga6_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',
@@ -710,6 +749,36 @@ class mga_buildsystem::config {
},
},
+ '6' => {
+ 'arch' => $std_arch,
+ 'no_media_cfg_update' => true,
+ 'medias' => $std_medias,
+ 'base_media' => $std_base_media,
+ 'branch' => 'Official',
+ 'version' => '6',
+ 'submit_allowed' => "${svn_root_packages}/updates/6",
+ 'backports_allowed' => "${svn_root_packages}/backports/6",
+ 'macros' => $std_macros,
+ 'repo_allow_from_ips' => $repo_allow_from_ips,
+ 'repo_allow_from_domains' => $repo_allow_from_domains,
+ 'youri' => {
+ 'upload' => {
+ 'targets' => $std_youri_upload_targets,
+ 'checks' => {
+ 'rpmlint' => $mga6_rpmlint,
+ },
+ },
+ 'todo' => {
+ 'targets' => $std_youri_todo_targets,
+ 'checks' => {
+ 'rpmlint' => $mga6_rpmlint,
+ 'version' => $std_version_check,
+ },
+ },
+ },
+ },
+
+
'infra_1' => {
'arch' => $std_arch,
'medias' => $infra_medias,