From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [COMMITTED] elfutils.spec: Add eu-srcfiles and add new make rpmbuild target
Date: Fri, 3 Nov 2023 23:40:39 +0100 [thread overview]
Message-ID: <20231103224038.1036035-1-mark@klomp.org> (raw)
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
reply other threads:[~2023-11-03 22:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231103224038.1036035-1-mark@klomp.org \
--to=mark@klomp.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).