.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH RPMDEV-SPECTOOL "1" "January 2026" "rpmdev-spectool 1.1.0" "User Commands" .SH NAME rpmdev-spectool \- manual page for rpmdev-spectool 1.1.0 .SH 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 .PP Spectool is a tool to expand and download sources and patches from specfiles. .PP If you experience problems with specific specfiles, try to run .IP rpmbuild \fB\-\-nobuild\fR \fB\-\-nodeps\fR .PP 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. .SS "positional arguments:" .IP specfile .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .SS "Operating mode:" .TP \fB\-\-list\-files\fR, \fB\-\-lf\fR, \fB\-l\fR lists the expanded sources/patches (default) .TP \fB\-\-get\-files\fR, \fB\-\-gf\fR, \fB\-g\fR gets the sources/patches that are listed with a URL .TP \fB\-\-version\fR, \fB\-V\fR Print the version and exit .SS "Files on which to operate:" .TP \fB\-\-all\fR, \fB\-a\fR all files, sources and patches (default) .TP \fB\-\-sources\fR, \fB\-S\fR all sources .TP \fB\-\-patches\fR, \fB\-P\fR all patches .TP \fB\-\-source\fR, \fB\-s\fR SOURCE specified sources .TP \fB\-\-patch\fR, \fB\-p\fR PATCH specified patches .SS "Miscellaneous:" .TP \fB\-\-define\fR, \fB\-d\fR DEFINE defines RPM macro 'macro' to be 'value' .TP \fB\-\-directory\fR, \fB\-C\fR DIRECTORY download into specified directory (default '.') .TP \fB\-\-sourcedir\fR, \fB\-R\fR download into rpm's %{_sourcedir} .TP \fB\-\-dry\-run\fR, \fB\-\-dryrun\fR, \fB\-n\fR don't download anything, just show what would be done .TP \fB\-\-force\fR, \fB\-f\fR try to unlink and download if target files exist .TP \fB\-\-debug\fR, \fB\-D\fR output debug info, don't clean up when done