Hi all,
I have renamed the rpm-retrieve.pl script to spectool and put it up on:
http://people.redhat.com/nphilipp/spectool
The biggest change is, it understands --help now and is version 1.0.
For those who missed the great "why macros in Source fields are
evil/bring world peace" thread on fedora-devel-list, this tool expands
macros source/patch directives and either lists them or directly
retrieves the files.
--- 8< ---
Usage: spectool <options> <specfile> <what>
<what> can be a list of 'all', 'sources', 'patches',
'source0', 'patch5', etc.
Options:
-d, --define 'macro value' defines RPM macro 'macro' to be
'value'
-g, --gf, --get-files gets the sources/patches that are listed
with
a URL
-l, --lf, --list-files lists the expanded sources/patches
--- >8 ---
Nils
--
Nils Philippsen / Red Hat / nphilipp(a)redhat.com
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011