[Rpm-maint] [rpm-software-management/rpm] Merge buildprocess.md contents into rpmbuild man pages (PR #4047)

Panu Matilainen notifications at github.com
Tue Nov 25 08:30:32 UTC 2025


@pmatilai commented on this pull request.



> +	. Export build environment to *%builddir*/_rpmbuild.env_ file
+. Build sources and populate *%buildroot*
+	. Unpack sources and apply any patches (*p*, *%prep*)
+	. Generate dynamic build dependencies (*d*, *%generate_buildrequires*)
+	. Check dynamic build dependencies
+	. Configure sources (*f*, *%conf*)
+	. Compile sources (*c*, *%build*)
+	. Install binaries into *%buildroot* (*i*, *%install*)
+	. Read dynamic spec parts
+	. Execute tests (*k*, *%check*)
+. Process files to be packaged
+	. Collect source files
+	. Collect binary files in *%buildroot* based on *%files*
+		. Add regular entries
+		. Add documentation entries (*%doc*)
+		. Add license entries (*%license*)

Okay I missed the established format aspect :smile: 

I guess my "objection" here is that this borders on too much detail without explaining why. The way I see it, the *process* level difference is that there are "regular file entries" which are just added, and then there are "special file entries" (%doc and %license) that are copied to the buildroot automatically at this point and then added, and that copying aspect is a thing that deserves highlighting.

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

Message ID: <rpm-software-management/rpm/pull/4047/review/3503813049 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251125/66fb82de/attachment.htm>


More information about the Rpm-maint mailing list