1YUM-BUILDDEP(1) dnf-plugins-core YUM-BUILDDEP(1)
2
3
4
6 yum-builddep - redirecting to DNF builddep Plugin
7
8 Install whatever is needed to build the given .src.rpm, .nosrc.rpm or
9 .spec file.
10
11 WARNING:
12 Build dependencies in a package (i.e. src.rpm) might be different
13 than you would expect because they were evaluated according macros
14 set on the package build host.
15
17 dnf builddep <package>...
18
20 <package>
21 Either path to .src.rpm, .nosrc.rpm or .spec file or package
22 available in a repository.
23
25 --help-cmd
26 Show this help.
27
28 -D <macro expr>, --define <macro expr>
29 Define the RPM macro named macro to the value expr when parsing
30 spec files.
31
32 --spec Treat arguments as .spec files.
33
34 --srpm Treat arguments as source rpm files.
35
37 dnf builddep foobar.spec
38 Install the needed build requirements, defined in the foo‐
39 bar.spec file.
40
41 dnf builddep --spec foobar.spec.in
42 Install the needed build requirements, defined in the spec file
43 when filename ends with something different than .spec.
44
45 dnf builddep foobar-1.0-1.src.rpm
46 Install the needed build requirements, defined in the foo‐
47 bar-1.0-1.src.rpm file.
48
49 dnf builddep foobar-1.0-1
50 Look up foobar-1.0-1 in enabled repositories and install build
51 requirements for its source rpm.
52
53 dnf builddep -D 'scl python27' python-foobar.spec
54 Install the needed build requirements for the python27 SCL ver‐
55 sion of python-foobar.
56
58 See AUTHORS in your Core DNF Plugins distribution
59
61 2014, Red Hat, Licensed under GPLv2+
62
63
64
65
664.0.2.2 May 14, 2019 YUM-BUILDDEP(1)