[Rpm-maint] [rpm-software-management/rpm] Dynamic Spec generation (#1485)

Florian Festi notifications at github.com
Mon Nov 7 14:15:19 UTC 2022


@ffesti commented on this pull request.



> +
+%prep
+%setup -q -T -c
+
+%build
+echo "Q: Why?\nA: Because we can!" > FAQ
+
+%install
+mkdir -p $RPM_BUILD_ROOT/usr/local/bin
+echo " " > $RPM_BUILD_ROOT/usr/local/bin/hello
+
+
+echo "%package docs" >> %{specpartsdir}/docs.specpart
+echo "Summary: Documentation for dynamic spec" >> %{specpartsdir}/docs.specpart
+echo "BuildArch: noarch" >> %{specpartsdir}/docs.specpart
+echo "%files docs" >> %{specpartsdir}/docs.specpart

Done. I guess I started with a fool prove variant to not debug the test case and the error handling at once. 

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

Message ID: <rpm-software-management/rpm/pull/1485/review/1170476757 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221107/b0ab5732/attachment-0001.html>


More information about the Rpm-maint mailing list