spectool v1.0 was: Let us please all stop the whining
Nils Philippsen
nphilipp at redhat.com
Tue Mar 2 15:59:31 UTC 2004
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040302/bc76b168/attachment.sig>
More information about the fedora-devel-list
mailing list