[Fedora-packaging] Remove requirement to use macros for paths

Nicolas Mailhot nicolas.mailhot at laposte.net
Wed Mar 9 08:28:42 UTC 2011



Le Lun 28 février 2011 21:13, Toshio Kuratomi a écrit :
> Recently the question of why we require people to macroize their paths in
> spec files (and by extension, patch build scripts to use the expansion of
> our macros instead of hardcoded values) came up.  FPC only knew of one, not
> so great reason: if the paths were to change, for instance a change in the
> FHS, then spec files that use macros (in both the spec file and the
> expansion of those macros is used in the upstream build scripts) would only
> need a rebuild to pick up th new paths.

Macroizing directory paths is very useful for SIGs to enforce consistency in
Fedora packages when a specific domain has no strong established file location
conventions and different upstream make radically different choices.

-- 
Nicolas Mailhot




More information about the packaging mailing list