[Fedora-packaging] Expanding RPM macros

Tom Hughes tom at compton.nu
Sun Nov 2 19:51:02 UTC 2014


On 02/11/14 19:33, Peter Lemenkov wrote:

> Also I wonder why even rpmbuild -bs performs macro expansion? I
> thought it should just pack spec-file and sources/patches together.

Well the source file names often include macros like %version so it will 
have to expand macros in order to find out what source files to include 
in the archive.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/


More information about the packaging mailing list