Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
scripts
Commits
9187ece5
Commit
9187ece5
authored
Mar 31, 2020
by
Markus Frosch
Browse files
rpm: Skip lint on SLES 11
parent
dbef31b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
icinga-build-rpm-binary
View file @
9187ece5
...
...
@@ -103,6 +103,11 @@ fi
echo
"[ Running rpmlint ]"
(
source
/etc/os-release
if
[
"
$ID
"
=
sles
]
&&
[[
"
$VERSION
"
=
11.
*
]]
;
then
echo
"Skip rpmlint..."
exit
0
fi
lintrc
=
0
for
file
in
"
${
BUILDDIR
}
"
/RPMS/
**
/
*
.rpm
;
do
lintconf
=(
--info
--verbose
-o
"NetworkEnabled True"
)
...
...
icinga-build-rpm-source
View file @
9187ece5
...
...
@@ -93,6 +93,11 @@ if [ -e "rpmlint/${ICINGA_BUILD_PROJECT}.conf" ]; then
lintconf+
=(
"-f"
"rpmlint/
${
ICINGA_BUILD_PROJECT
}
.conf"
)
fi
(
source
/etc/os-release
if
[
"
$ID
"
=
sles
]
&&
[[
"
$VERSION
"
=
11.
*
]]
;
then
echo
"Skip rpmlint..."
exit
0
fi
set
-o
pipefail
lintrc
=
0
(
set
-x
;
rpmlint
"
${
lintconf
[@]
}
"
"
${
BUILDDIR
}
/SPECS/
${
ICINGA_BUILD_PROJECT
}
.spec"
)
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment