1997-02-18 04:20:04 +08:00
|
|
|
rpm alias --provides --qf '[%{PROVIDES}\n]'
|
1997-01-31 03:57:47 +08:00
|
|
|
|
1997-04-17 04:38:38 +08:00
|
|
|
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'
|
1997-01-31 03:57:47 +08:00
|
|
|
|
1997-02-18 04:20:04 +08:00
|
|
|
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES}\n]' \
|
1997-01-31 03:57:47 +08:00
|
|
|
--pipe "sed 's/^.../chmod /' | sh"
|
|
|
|
|
1997-02-18 04:20:04 +08:00
|
|
|
rpm alias --setugids -q --qf \
|
1997-01-31 03:57:47 +08:00
|
|
|
'[chown %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' \
|
|
|
|
--pipe "sh"
|
|
|
|
|
1997-03-04 10:23:51 +08:00
|
|
|
rpm alias --requires --qf \
|
1997-02-18 04:20:04 +08:00
|
|
|
"[%{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}\
|
1997-05-15 22:40:20 +08:00
|
|
|
Packager : %{PACKAGER}\
|
|
|
|
URL : %{URL}\
|
1997-02-18 04:20:04 +08:00
|
|
|
Summary : %{SUMMARY}\
|
|
|
|
Description :\n%{DESCRIPTION}\n'
|