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

Panu Matilainen notifications at github.com
Tue Nov 8 07:59:58 UTC 2022


@pmatilai commented on this pull request.



> +
+runroot rpmbuild -ba /data/SPECS/dynamic.spec
+],
+[0],
+[ignore],
+[ignore])
+
+AT_CHECK([
+
+runroot rpm -qp --qf "%{Summary}\n" /build/RPMS/noarch/dynamic-docs-1.0-1.noarch.rpm
+runroot rpm -ql /build/RPMS/noarch/dynamic-docs-1.0-1.noarch.rpm
+],
+[0],
+[Documentation for dynamic spec
+/usr/local/share/doc/dynamic-docs-1.0
+/usr/local/share/doc/dynamic-docs-1.0/FAQ

This will fail when rpm is built with prefix other than /usr/local, such as distros would normally do.
Run the above rpmbuild with `--define "_prefix /usr/local"` to fix.

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

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


More information about the Rpm-maint mailing list