Debian Codegraph @

upstream/debian-unstable/man1/rpmdeps.1

raw
1 .\" Generated by scdoc 1.11.4
2 .\" Complete documentation for this program is not available as a GNU info page
3 .ie \n(.g .ds Aq \(aq
4 .el .ds Aq '
5 .nh
6 .ad l
7 .\" Begin generated content:
8 .TH "RPMDEPS" "1" "2026-04-10" "RPM 6.0.1"
9 .PP
10 .SH NAME
11 rpmdeps - Generate RPM Package Dependencies
12 .PP
13 .SH SYNOPSIS
14 \fBrpmdeps\fR <operation> [options]
15 .PP
16 \fBrpmdeps\fR <operation> [options] \fIFILE\fR .\&.\&.\&
17 .PP
18 .SH DESCRIPTION
19 \fBrpmdeps\fR generates package dependencies for one or more files, received
20 either as a list of filenames on the standard input, or command line
21 arguments.\&
22 .PP
23 \fBrpmdeps\fR is not normally invoked directly, but doing so can be useful for
24 troubleshooting dependency generation and developing new dependency generators.\&
25 The installation directory of \fBrpmdeps\fR can be determined with
26 \fBrpm -E "%{_rpmconfigdir}"\fR.\&
27 .PP
28 Note that the actual \fBrpmdeps\fR command is only used for automatic dependency
29 generation in a legacy compatibility mode of \fBrpmbuild\fR(1).\&
30 .PP
31 .SH OPERATIONS
32 \fB--alldeps\fR
33 .RS 4
34 Print all the dependencies.\&
35 .PP
36 .RE
37 \fB--conflicts\fR
38 .RS 4
39 Print the conflicts dependencies.\&
40 .PP
41 .RE
42 \fB--enhances\fR
43 .RS 4
44 Print the enhances dependencies.\&
45 .PP
46 .RE
47 \fB--obsoletes\fR
48 .RS 4
49 Print the obsoletes dependencies.\&
50 .PP
51 .RE
52 \fB--orderwithrequires\fR
53 .RS 4
54 Print the orderwithrequires dependencies.\&
55 .PP
56 .RE
57 \fB-P, --provides\fR
58 .RS 4
59 Print the provides dependencies.\&
60 .PP
61 .RE
62 \fB--recommends\fR
63 .RS 4
64 Print the recommends dependencies.\&
65 .PP
66 .RE
67 \fB-R, --requires\fR
68 .RS 4
69 Print the requires dependencies.\&
70 .PP
71 .RE
72 \fB--suggests\fR
73 .RS 4
74 Print the suggests dependencies.\&
75 .PP
76 .RE
77 \fB--supplements\fR
78 .RS 4
79 Print the supplements dependencies.\&
80 .PP
81 .RE
82 .SH ARGUMENTS
83 \fIFILE\fR
84 .RS 4
85 Any regular file.\&
86 .PP
87 .RE
88 .SH OPTIONS
89 See \fBrpm-common\fR(8) for the options common to all operations.\&
90 .PP
91 .SH ENVIRONMENT
92 \fBRPM_BUILD_ROOT\fR
93 .RS 4
94 The prefix path to strip out when generating dependencies
95 based on actual paths.\&
96 .PP
97 .RE
98 .SH EXIT STATUS
99 On success, 0 is returned, a nonzero failure code otherwise.\&
100 .PP
101 .SH EXAMPLES
102 \fBrpmdeps --requires /bin/ls\fR
103 .RS 4
104 Output the automatic requires dependencies of the \fBls\fR(1) binary.\&
105 .PP
106 .RE
107 \fBfind popt-1.\&19-build/BUILDROOT -type f | /usr/lib/rpm/rpmdeps -P\fR
108 .RS 4
109 Output the automatic provides of all files in the
110 \fIpopt-1.\&19-build/BUILDROOT\fR directory
111 .PP
112 .RE
113 .SH SEE ALSO
114 \fBrpm\fR(8), \fBrpmbuild\fR(1), \fBrpm-common\fR(8)