The elfutils.spec was missing the new eu-srcfiles program. Add a new
rpmbuild target to test a whole rpm build to catch such issues early.
* config/elfutils.spec.in: Add eu-srcfiles to files.
* Makefile.am (rpmbuild): New target.
Signed-off-by: Mark Wielaard <[email protected]>
---
Makefile.am | 5 +++++
config/elfutils.spec.in | 1 +
2 files changed, 6 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index 41badfd7..87debb48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,6 +46,11 @@ distcheck-hook:
rpm: dist
rpmbuild -ts elfutils-@[email protected]
+rpmbuild: dist
+ mkdir rpmbuild
+ rpmbuild -ta elfutils-@[email protected] \
+ --define "_topdir $(pwd)/rpmbuild"
+
if GCOV
COVERAGE_OUTPUT_FILE = $(PACKAGE_NAME).lcov
diff --git a/config/elfutils.spec.in b/config/elfutils.spec.in
index 67e88cb5..bb974231 100644
--- a/config/elfutils.spec.in
+++ b/config/elfutils.spec.in
@@ -247,6 +247,7 @@ fi
%{_bindir}/eu-ranlib
%{_bindir}/eu-readelf
%{_bindir}/eu-size
+%{_bindir}/eu-srcfiles
%{_bindir}/eu-stack
%{_bindir}/eu-strings
%{_bindir}/eu-strip
--
2.39.3