Scroll to navigation

RPMDEV-SPECTOOL(1) User Commands RPMDEV-SPECTOOL(1)

NAME

rpmdev-spectool - manual page for rpmdev-spectool v1.0.10rpmdev2

SYNOPSIS

rpmdev-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 rpmdev-spectool fails on a file (ignore anything about missing sources or patches). The plan is to catch errors like this in rpmdev-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
August 2020 rpmdev-spectool v1.0.10rpmdev2