summaryrefslogtreecommitdiff
path: root/cpp/rpm/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/rpm/Makefile.am')
-rw-r--r--cpp/rpm/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/rpm/Makefile.am b/cpp/rpm/Makefile.am
index 1a713ee65f..7f3a4b4b6b 100644
--- a/cpp/rpm/Makefile.am
+++ b/cpp/rpm/Makefile.am
@@ -14,9 +14,10 @@ clean-local:
# Build source and binary RPMs.
rpm: dist
- rpmbuild $(RPMOPTS) -ba $(SPEC)
+ rpmbuild $(RPMOPTS) $(RPMEXTRAOPTS) -ba $(SPEC)
+ rpmlint RPMS/*.rpm
-# Source RPM only.
+# Build source RPM only.
srpm: dist
rpmbuild $(RPMOPTS) -bs $(SPEC)