summaryrefslogtreecommitdiff
path: root/rpmpopt
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-02-17 20:20:04 +0000
committerewt <devnull@localhost>1997-02-17 20:20:04 +0000
commit313c75b2e82949cdb7d7d972c257366ffb91a4cb (patch)
treeb876319d4c74eca126dddd3c3c3608c081bf83ea /rpmpopt
parente21915afcc51f30889366a8d321b10e899834b0f (diff)
downloadlibrpm-tizen-313c75b2e82949cdb7d7d972c257366ffb91a4cb.tar.gz
librpm-tizen-313c75b2e82949cdb7d7d972c257366ffb91a4cb.tar.bz2
librpm-tizen-313c75b2e82949cdb7d7d972c257366ffb91a4cb.zip
migrated to new format (with --), added --requires, -R, and --info
CVS patchset: 1430 CVS date: 1997/02/17 20:20:04
Diffstat (limited to 'rpmpopt')
-rw-r--r--rpmpopt20
1 files changed, 16 insertions, 4 deletions
diff --git a/rpmpopt b/rpmpopt
index a517a16f5..5c2cb5faf 100644
--- a/rpmpopt
+++ b/rpmpopt
@@ -1,14 +1,26 @@
-rpm alias provides --qf '[%{PROVIDES}\n]'
+rpm alias --provides --qf '[%{PROVIDES}\n]'
-rpm alias scripts --qf 'preinstall script:\n%{RPMTAG_PREIN}\npostinstall \
+rpm alias --scripts --qf 'preinstall script:\n%{RPMTAG_PREIN}\npostinstall \
script:\n%{RPMTAG_POSTIN}\npreuninstall \
script:\n%{RPMTAG_PREUN}\npostuninstall \
script:\n%{RPMTAG_POSTUN}\nverify script:\n%{VERIFYSCRIPT}\n'
-rpm alias setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES}\n]' \
+rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES}\n]' \
--pipe "sed 's/^.../chmod /' | sh"
-rpm alias setugids -q --qf \
+rpm alias --setugids -q --qf \
'[chown %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' \
--pipe "sh"
+rpm alias --requires -q --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'