Mageia Bugzilla – Attachment 3894 Details for
Bug 9077
urpmi-dispatched-backend.pl does not support gstreamer 1.0 packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
what about this one?
9077b.diff (text/plain), 930 bytes, created by
Thierry Vignaud
on 2013-05-05 18:58:10 CEST
(
hide
)
Description:
what about this one?
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-05-05 18:58:10 CEST
Size:
930 bytes
patch
obsolete
>commit 6e80845036dd950b59bea277e44f5904883cb29f >Author: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Fri Apr 26 18:31:52 2013 +0200 > > urpmi: add support for gstreamer 1.0 packages (mga#9077) > >diff --git a/backends/urpmi/helpers/urpmi-dispatched-backend.pl b/backends/urpmi/helpers/urpmi-dispatched-backend.pl >index 94f8b9d..ac0b1cd 100755 >--- a/backends/urpmi/helpers/urpmi-dispatched-backend.pl >+++ b/backends/urpmi/helpers/urpmi-dispatched-backend.pl >@@ -678,11 +678,12 @@ sub what_provides { > foreach (@packageidstab) { > my @pkgid = split(/;/, $_); > # skip if old standard >- if (!any { /^gstreamer0.10\(/ } $pkgid[0]) { >+ if (!any { /^gstreamer([0-9.]+)\(/ } $pkgid[0]) { >+ my $ver = $1; > # new standard > my $namespace; > if ($providestype eq "codec") { >- $namespace = "gstreamer0.10"; >+ $namespace = "gstreamer$1"; > } elsif ($providestype ne "any") { > $namespace = $providestype; > }
commit 6e80845036dd950b59bea277e44f5904883cb29f Author: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Fri Apr 26 18:31:52 2013 +0200 urpmi: add support for gstreamer 1.0 packages (mga#9077) diff --git a/backends/urpmi/helpers/urpmi-dispatched-backend.pl b/backends/urpmi/helpers/urpmi-dispatched-backend.pl index 94f8b9d..ac0b1cd 100755 --- a/backends/urpmi/helpers/urpmi-dispatched-backend.pl +++ b/backends/urpmi/helpers/urpmi-dispatched-backend.pl @@ -678,11 +678,12 @@ sub what_provides { foreach (@packageidstab) { my @pkgid = split(/;/, $_); # skip if old standard - if (!any { /^gstreamer0.10\(/ } $pkgid[0]) { + if (!any { /^gstreamer([0-9.]+)\(/ } $pkgid[0]) { + my $ver = $1; # new standard my $namespace; if ($providestype eq "codec") { - $namespace = "gstreamer0.10"; + $namespace = "gstreamer$1"; } elsif ($providestype ne "any") { $namespace = $providestype; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9077
:
3820
| 3894