Github user dlyle65535 commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/189#discussion_r70807503
--- Diff: metron-deployment/packaging/docker/rpm-docker/build.sh ---
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rm -rf SRPMS/ RPMS/ && \
+rpmbuild -v -ba --define "_topdir $(pwd)" --define "_version 0.2.0BETA"
SPECS/metron.spec && \
+rpmlint -i SPECS/metron.spec RPMS/*/metron* SRPMS/metron
--- End diff --
Unless there's some risk that the rpmbuild command will fail silently or
that the produced rpms won't work repeatable (or there's something else I'm
missing), I'd drop the rpmlint command.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---