blob: 2b69cd94bed4baa235c21e59305e34c490807e1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
rpm alias --provides --qf '[%{PROVIDES}\n]'
rpm alias --scripts --qf 'preinstall script:\n%{RPMTAG_PREIN}\
postinstall script:\
%{RPMTAG_POSTIN}\
preuninstall script:\
%{RPMTAG_PREUN}\
postuninstall script: %{RPMTAG_POSTUN}\
verify script:\
%{VERIFYSCRIPT}\n'
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES}\n]' \
--pipe "sed 's/^.../chmod /' | sh"
rpm alias --setugids -q --qf \
'[chown %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' \
--pipe "sh"
rpm alias --requires --qf \
"[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]"
rpm alias -R --requires
rpm alias --info --qf 'Name : %-27{NAME} Distribution: %{DISTRIBUTION}\
Version : %-27{VERSION} Vendor: %{VENDOR}\
Release : %-27{RELEASE} Build Date: %{BUILDTIME:date}\
Install date: %-27{INSTALLTIME:date} Build Host: %{BUILDHOST}\
Group : %-27{GROUP} Source RPM: %{SOURCERPM}\
Size : %{SIZE}\
Summary : %{SUMMARY}\
Description :\n%{DESCRIPTION}\n'
|