summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-14 07:44:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-14 07:44:42 +0000
commit12b0564ab9ae782dbf5743eb5f5376a60f1f39ba (patch)
treeb69b1810d72e9b87965ac5c8370311921fd55f89
parentd8314d9dd12f1bc40960ee9a498ded4ed9e917a3 (diff)
downloadurpmi-12b0564ab9ae782dbf5743eb5f5376a60f1f39ba.tar
urpmi-12b0564ab9ae782dbf5743eb5f5376a60f1f39ba.tar.gz
urpmi-12b0564ab9ae782dbf5743eb5f5376a60f1f39ba.tar.bz2
urpmi-12b0564ab9ae782dbf5743eb5f5376a60f1f39ba.tar.xz
urpmi-12b0564ab9ae782dbf5743eb5f5376a60f1f39ba.zip
- urpmf:
o fix --license
-rw-r--r--NEWS3
-rw-r--r--urpm/xml_info_pkg.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2e7902d8..e651f10f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmf:
+ o fix --license
+
Version 5.0 - 11 January 2008, by Pascal "Pixel" Rigaux
- urpmf, urpmq:
diff --git a/urpm/xml_info_pkg.pm b/urpm/xml_info_pkg.pm
index ce0fb0cd..b1af11a0 100644
--- a/urpm/xml_info_pkg.pm
+++ b/urpm/xml_info_pkg.pm
@@ -23,7 +23,7 @@ sub summary { $_[0]{pkg}->summary }
# can be directly available in xml_info
sub url { exists $_[0]{url} ? $_[0]{url} : $_[0]{pkg}->url }
-sub licence { exists $_[0]{licence} ? $_[0]{licence} : $_[0]{pkg}->licence }
+sub license { exists $_[0]{license} ? $_[0]{license} : $_[0]{pkg}->license }
sub sourcerpm { exists $_[0]{sourcerpm} ? $_[0]{sourcerpm} : $_[0]{pkg}->sourcerpm }
sub description { exists $_[0]{description} ? $_[0]{description} : $_[0]{pkg}->description }