RPMDEV-SPECTOOL(1)
π NAME π
rpmdev-spectool β manual page for rpmdev-spectool 1.1.0.
okay bestie, welcome to the rpmdev-spectool(1) page β it's a User Commands situation, and we're gonna get into it π.
πΈ DESCRIPTION πΈ
okay so rpmdev-spectool is literally a tool to expand and download sources and patches from specfiles β¨.
here's the usage, exactly as it comes:
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
if you experience problems with specific specfiles, try running this on the file that's acting up:
rpmbuild --nobuild --nodeps <specfile>
it might give a clue why spectool fails on a file β and bestie, ignore anything about missing sources or patches when you read that output, mmkay? the plan is to catch errors like this in spectool itself and warn the user about it in the future π«Ά.
π₯Ί positional arguments: π₯Ί
specfileβ the specfile argument, the main character of this whole operation π .
β¨ options: β¨
-h,--helpβ shows this help message and exits, no cap.
π Operating mode: π
--list-files,--lf,-lβ lists the expanded sources/patches (this is the default, bestie).--get-files,--gf,-gβ gets the sources/patches that are listed with a URL π₯.--version,-Vβ prints the version and exits.
π¦ Files on which to operate: π¦
--all,-aβ all files, sources and patches (default).--sources,-Sβ all sources.--patches,-Pβ all patches.--source SOURCE,-s SOURCEβ specified sources.--patch PATCH,-p PATCHβ specified patches.
π Miscellaneous: π
--define DEFINE,-d DEFINEβ defines RPM macro'macro'to be'value'.--directory DIRECTORY,-C DIRECTORYβ downloads into the specified directory (default'.').--sourcedir,-Rβ downloads into rpm's%{_sourcedir}.--dry-run,--dryrun,-nβ doesn't download anything, just shows what would be done.--force,-fβ tries to unlink and download if target files exist.--debug,-Dβ outputs debug info, doesn't clean up when done.
okay that's the whole page, bestie π«Ά β brought to you by rpmdev-spectool 1.1.0, October 2024. periodt π
π¦ where this page comes from
- centos-stream 10: rpmdevtools 9.6-9.el10 Β· GPL-2.0-or-later AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms