Scroll to navigation

SPECTOOL(1) User Commands SPECTOOL(1)

NAME

spectool - manual page for spectool v1.0.10rpmdev1

SYNOPSIS

spectool [<options>] <specfile>

DESCRIPTION

Spectool is a tool to expand and download sources and patches from specfiles.

If you experience problems with specific specfiles, try to run

rpmbuild --nobuild --nodeps <specfile>

on the file which might give a clue why spectool fails on a file (ignore anything about missing sources or patches). The plan is to catch errors like this in spectool itself and warn the user about it in the future.

OPTIONS

Operating mode:

lists the expanded sources/patches (default)
gets the sources/patches that are listed with a URL
display this help screen

Files on which to operate:

all files, sources and patches (default)
all sources
all patches
specified sources
specified patches

Miscellaneous:

defines RPM macro 'macro' to be 'value'
download into specified directory (default '.')
download into rpm's %{_sourcedir}
don't download anything, just show what would be done
try to unlink and download if target files exist
output debug info, don't clean up when done

FILES

/etc/rpmdevtools/curlrc

optional curl(1) configuration
December 2020 spectool v1.0.10rpmdev1