Scroll to navigation

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

NAME

rpmdev-spectool - manual page for rpmdev-spectool 1.1.0

DESCRIPTION

usage: rpmdev-spectool [-h] [--list-files] [--get-files] [--version] [--all] [--sources] [--patches] [--source SOURCE] [--patch PATCH] [--define DEFINE] [--directory DIRECTORY] [--sourcedir] [--dry-run] [--force] [--debug] specfile

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.

positional arguments:

specfile

optional arguments:

show this help message and exit

Operating mode:

lists the expanded sources/patches (default)
gets the sources/patches that are listed with a URL
Print the version and exit

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
December 2021 rpmdev-spectool 1.1.0