[Rpm-maint] [rpm-software-management/rpm] Dynamic Spec generation (#1485)
Panu Matilainen
notifications at github.com
Wed Oct 26 11:13:37 UTC 2022
@pmatilai commented on this pull request.
> @@ -2272,3 +2272,27 @@ runroot rpmbuild \
],
[ignore])
AT_CLEANUP
+
+# ------------------------------
+# Check if dynamic spec generation works
+AT_SETUP([rpmbuild with dynamic spec generation])
+AT_KEYWORDS([build])
+RPMDB_INIT
+AT_CHECK([
+
+run rpmbuild --noclean\
+ -ba "${abs_srcdir}"/data/SPECS/dynamic.spec
Use a simpler, noarch package that you can run under runroot instead, what's being tested here doesn't require a compiler and make to be present at all. It makes things simpler when you're always operating inside the root and don't need these abs_srcdir kind of things at all.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1485#pullrequestreview-1156314094
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1485/review/1156314094 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221026/be935348/attachment.html>
More information about the Rpm-maint
mailing list