Macros in Source fields (was: Re: Prelink success story :))

Jos Vos jos at xos.nl
Fri Feb 27 10:46:06 UTC 2004


On Fri, Feb 27, 2004 at 11:33:21AM +0100, Michael Schwendt wrote:

> All that has been pointed out is that reviewers appreciate ready-to-use
> URLs, which they can cut'n'paste into console or browser to fetch a
> tarball from upstream. It has been pointed out that some packagers
> tend to obfuscate URLs with macros to a degree that is far from smart,
> e.g.
> 
>   Source0:  http://foo.bar/%{name}/%{version}/%{name}-%{version}rc1.tar.gz
> 
> and that is bad taste and bad style. Or it turns out, the URL hasn't been
> updated or verified in a longer time and is not true anymore.

Absolutely true.  This is the reason I *always* check URL, Source* and
Patch* fields for every new version of my own rpm's by copying/pasting
into a browser and/or wget/curl, so I avoid macros in those fields too.

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204





More information about the fedora-devel-list mailing list