.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH RPMDEV-SPECTOOL "1" "August 2020" "rpmdev-spectool v1.0.10rpmdev2" "User Commands" .SH NAME rpmdev-spectool \- manual page for rpmdev-spectool v1.0.10rpmdev2 .SH SYNOPSIS .B rpmdev-spectool [\fI\,\/\fR] \fI\,\/\fR .SH DESCRIPTION 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 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. .SH OPTIONS .SS "Operating mode:" .TP \fB\-l\fR, \fB\-\-lf\fR, \fB\-\-list\-files\fR lists the expanded sources/patches (default) .TP \fB\-g\fR, \fB\-\-gf\fR, \fB\-\-get\-files\fR gets the sources/patches that are listed with a URL .TP \fB\-h\fR, \fB\-\-help\fR display this help screen .SS "Files on which to operate:" .TP \fB\-A\fR, \fB\-\-all\fR all files, sources and patches (default) .TP \fB\-S\fR, \fB\-\-sources\fR all sources .TP \fB\-P\fR, \fB\-\-patches\fR all patches .TP \fB\-s\fR, \fB\-\-source\fR x[,y[,...]] specified sources .TP \fB\-p\fR, \fB\-\-patch\fR a[,b[,...]] specified patches .SS "Miscellaneous:" .TP \fB\-d\fR, \fB\-\-define\fR 'macro value' defines RPM macro 'macro' to be 'value' .TP \fB\-C\fR, \fB\-\-directory\fR dir download into specified directory (default '.') .TP \fB\-R\fR, \fB\-\-sourcedir\fR download into rpm's %{_sourcedir} .TP \fB\-n\fR, \fB\-\-dryrun\fR, \fB\-\-dry\-run\fR don't download anything, just show what would be done .TP \fB\-f\fR, \fB\-\-force\fR try to unlink and download if target files exist .TP \fB\-D\fR, \fB\-\-debug\fR output debug info, don't clean up when done .SH FILES \fI\,/etc/rpmdevtools/curlrc\/\fP .IP optional curl(1) configuration