summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-02 14:35:52 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-02 14:38:50 +0100
commit4bc01538afa0d6399ee5c72f784ca77a62fbd68c (patch)
tree4932fd47bfa279a7bb92f7d9425fd3394847b6e9
parent5ec2ce6410a3869ea002a795ae02dcc2afc8d9c5 (diff)
downloadurpmi-4bc01538afa0d6399ee5c72f784ca77a62fbd68c.tar
urpmi-4bc01538afa0d6399ee5c72f784ca77a62fbd68c.tar.gz
urpmi-4bc01538afa0d6399ee5c72f784ca77a62fbd68c.tar.bz2
urpmi-4bc01538afa0d6399ee5c72f784ca77a62fbd68c.tar.xz
urpmi-4bc01538afa0d6399ee5c72f784ca77a62fbd68c.zip
urpmq -i: display epoch when using -i (mga#25735)
-rw-r--r--NEWS2
-rwxr-xr-xurpmq1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 94ff6772..fbba14df 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- urpmq:
+ o display epoch when using -i (mga#25735)
- cpan_testers:
o actually needs perl >= 5.10 for //= operator
o fix failing scriptlets test with rpm < 4.13.0
diff --git a/urpmq b/urpmq
index d9d97a01..60355d81 100755
--- a/urpmq
+++ b/urpmq
@@ -437,6 +437,7 @@ if ($options{list_aliases}) {
}
if ($options{info}) {
printf "%-12s: %s\n", "Name", $pkg->name;
+ printf "%-12s: %s\n", "Epoch", $pkg->epoch if $pkg->epoch;
printf "%-12s: %s\n", "Version", $pkg->version;
printf "%-12s: %s\n", "Release", $pkg->release;
printf "%-12s: %s\n", "Group", $pkg->group;