[Rpm-maint] [rpm-software-management/rpm] Add DYNAMIC SPEC PARTS section to rpm-spec(5) (PR #4299)

Panu Matilainen notifications at github.com
Tue Aug 4 07:50:07 UTC 2026


@pmatilai commented on this pull request.



> +Summary: Dynamic spec
+
+%description
+A dynamic spec generation example.
+
+%build
+touch FAQ
+{
+	echo "%package docs"
+	echo "Summary: Docs subpackage"
+	echo "BuildArch: noarch"
+	echo "%description docs"
+	echo "Documentation for dynamic spec"
+	echo "%files docs"
+	echo "%doc FAQ"
+} > $RPM_SPECPARTS_DIR/docs.specpart

Hmm. I wonder if we could come up with a more meaningful example that would demonstrate a scenario where you'd want/need to use this feature. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4299#pullrequestreview-4851879817
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/4299/review/4851879817 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260804/ef66cb4a/attachment.htm>


More information about the Rpm-maint mailing list