Marcus Rueckert
43997482be
-> OBS-URL: https://build.opensuse.org/request/show/70563 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=128
14 lines
399 B
Diff
14 lines
399 B
Diff
Support a "first version wins" semantics.
|
|
|
|
--- ./scripts/perl.prov.orig 2010-12-03 12:11:57.000000000 +0000
|
|
+++ ./scripts/perl.prov 2011-05-11 15:32:39.000000000 +0000
|
|
@@ -170,7 +170,7 @@ sub process_file {
|
|
|
|
$version = $1;
|
|
}
|
|
- $require{$package} = $version;
|
|
+ $require{$package} ||= $version;
|
|
}
|
|
|
|
# Allow someone to have a variable that defines virtual packages
|