diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/xml_info_pkg.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 } |