Debian Codegraph @

upstream/debian-unstable/man1/yum-builddep.1

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "YUM-BUILDDEP" "1" "Sep 27, 2025" "4.10.1" "dnf-plugins-core"
31 .SH NAME
32 yum-builddep \- redirecting to DNF builddep Plugin
33 .sp
34 Install whatever is needed to build the given .src.rpm, .nosrc.rpm or .spec file.
35 .sp
36 \fBWARNING:\fP
37 .INDENT 0.0
38 .INDENT 3.5
39 Build dependencies in a package (i.e. src.rpm) might be different
40 than you would expect because they were evaluated according macros
41 set on the package build host.
42 .UNINDENT
43 .UNINDENT
44 .SH SYNOPSIS
45 .sp
46 \fBdnf builddep <package>...\fP
47 .SH ARGUMENTS
48 .INDENT 0.0
49 .TP
50 .B \fB<package>\fP
51 Either path to .src.rpm, .nosrc.rpm or .spec file or package available in a repository.
52 .UNINDENT
53 .SH OPTIONS
54 .sp
55 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
56 .INDENT 0.0
57 .TP
58 .B \fB\-\-help\-cmd\fP
59 Show this help.
60 .TP
61 .B \fB\-D <macro expr>, \-\-define <macro expr>\fP
62 Define the RPM macro named \fImacro\fP to the value \fIexpr\fP when parsing spec files. Does not apply for source rpm files.
63 .TP
64 .B \fB\-\-spec\fP
65 Treat arguments as .spec files.
66 .TP
67 .B \fB\-\-srpm\fP
68 Treat arguments as source rpm files.
69 .TP
70 .B \fB\-\-skip\-unavailable\fP
71 Skip build dependencies not available in repositories. All available build dependencies will be installed.
72 .UNINDENT
73 .sp
74 Note that \fIbuilddep\fP command does not honor the \fI–skip\-broken\fP option, so there is no way to skip uninstallable packages (e.g. with broken dependencies).
75 .SH EXAMPLES
76 .INDENT 0.0
77 .TP
78 .B \fBdnf builddep foobar.spec\fP
79 Install the needed build requirements, defined in the foobar.spec file.
80 .TP
81 .B \fBdnf builddep \-\-spec foobar.spec.in\fP
82 Install the needed build requirements, defined in the spec file when filename ends
83 with something different than \fB\&.spec\fP\&.
84 .TP
85 .B \fBdnf builddep foobar\-1.0\-1.src.rpm\fP
86 Install the needed build requirements, defined in the foobar\-1.0\-1.src.rpm file.
87 .TP
88 .B \fBdnf builddep foobar\-1.0\-1\fP
89 Look up foobar\-1.0\-1 in enabled repositories and install build requirements
90 for its source rpm.
91 .TP
92 .B \fBdnf builddep \-D \(aqscl python27\(aq python\-foobar.spec\fP
93 Install the needed build requirements for the python27 SCL version of python\-foobar.
94 .UNINDENT
95 .SH AUTHOR
96 See AUTHORS in your Core DNF Plugins distribution
97 .SH COPYRIGHT
98 2014, Red Hat, Licensed under GPLv2+
99 .\" Generated by docutils manpage writer.
100 .