summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 }