* [COMMITTED] elfutils.spec: Add eu-srcfiles and add new make rpmbuild target
@ 2023-11-03 22:40 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2023-11-03 22:40 UTC (permalink / raw)
To: elfutils-devel; +Cc: Mark Wielaard
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 <mark@klomp.org>
---
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-@PACKAGE_VERSION@.tar.bz2
+rpmbuild: dist
+ mkdir rpmbuild
+ rpmbuild -ta elfutils-@PACKAGE_VERSION@.tar.bz2 \
+ --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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-03 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03 22:40 [COMMITTED] elfutils.spec: Add eu-srcfiles and add new make rpmbuild target Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).