On Fri, 27 Feb 2004, Michael Schwendt wrote:
> Coupled with Ville's comment that package QA people really
> should be checking out web pages and so forth to make sure they have
> a canonical source rather than cut 'n paste, macros in Source: make more
> and more sense to me. (Although I'll definitely miss cut and paste when
> I'm QA'ing an update package and I already checked out the canonicalness
> in the previous version.)
Macros in URLs simply don't work. If you want macros in Source tags,
cut off everything up to the file name like
Source0: %name-%version.tar.gz
Macros work fine for me in Source tags, with URLs and without.
See the xchat spec file for an example.
pts/34 mharris@porkchop:~/rpmbuild/rpms/xchat$ grep Source xchat.spec
Source:
http://www.xchat.org/files/source/2.0/xchat-%{version}.tar.bz2
--
Mike A. Harris
ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat