1RPMDEV-SPECTOOL(1) User Commands RPMDEV-SPECTOOL(1)
2
3
4
6 rpmdev-spectool - manual page for rpmdev-spectool 1.1.0
7
9 usage: rpmdev-spectool [-h] [--list-files] [--get-files] [--version]
10 [--all] [--sources] [--patches] [--source SOURCE] [--patch PATCH]
11 [--define DEFINE] [--directory DIRECTORY] [--sourcedir] [--dry-run]
12 [--force] [--debug] specfile
13
14 Spectool is a tool to expand and download sources and patches from
15 specfiles.
16
17 If you experience problems with specific specfiles, try to run
18
19 rpmbuild --nobuild --nodeps <specfile>
20
21 on the file which might give a clue why spectool fails on a file (ig‐
22 nore anything about missing sources or patches). The plan is to catch
23 errors like this in spectool itself and warn the user about it in the
24 future.
25
26 positional arguments:
27 specfile
28
29 options:
30 -h, --help
31 show this help message and exit
32
33 Operating mode:
34 --list-files, --lf, -l
35 lists the expanded sources/patches (default)
36
37 --get-files, --gf, -g
38 gets the sources/patches that are listed with a URL
39
40 --version, -V
41 Print the version and exit
42
43 Files on which to operate:
44 --all, -a
45 all files, sources and patches (default)
46
47 --sources, -S
48 all sources
49
50 --patches, -P
51 all patches
52
53 --source SOURCE, -s SOURCE
54 specified sources
55
56 --patch PATCH, -p PATCH
57 specified patches
58
59 Miscellaneous:
60 --define DEFINE, -d DEFINE
61 defines RPM macro 'macro' to be 'value'
62
63 --directory DIRECTORY, -C DIRECTORY
64 download into specified directory (default '.')
65
66 --sourcedir, -R
67 download into rpm's %{_sourcedir}
68
69 --dry-run, --dryrun, -n
70 don't download anything, just show what would be done
71
72 --force, -f
73 try to unlink and download if target files exist
74
75 --debug, -D
76 output debug info, don't clean up when done
77
78
79
80rpmdev-spectool 1.1.0 February 2022 RPMDEV-SPECTOOL(1)