Skip to content

Commit

Permalink
fix check to support amazon linux
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed Sep 26, 2024
1 parent da539b4 commit 1e9e4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/packaging/rpm/common/fill_docker_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class MyTemplate(Template):
COPY --chown=user ./rpm/common/rpmlintrc /home/user/.rpmlintrc
RUN rpmdev-setuptree && \\
cp chapel-$CHAPEL_VERSION.tar.gz $(rpm --eval '%{_sourcedir}') && \\
ignore_unused=$([[ "$(rpm --eval '%{fc#}')" == "1" ]] && echo "--ignore-unused-rpmlintrc") || echo "" && \\
ignore_unused=$([[ "$(rpm --eval '%{dist_name}')" == "Fedora Linux" ]] && echo "--ignore-unused-rpmlintrc") || echo "" && \\
rpmlint $ignore_unused --file .rpmlintrc $BASENAME.spec && \\
unset ignore_unused && \\
spectool -g -R $BASENAME.spec
Expand Down

0 comments on commit 1e9e4c9

Please sign in to comment.