Bug 1135558

Summary: Implement superset lookup for GStreamer plugins
Product: [Fedora] Fedora Reporter: Wim Taymans <wtaymans>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jonathan, kalevlember, rdieter, rhughes, smparrish, tim
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 12:04:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
possible patch none

Description Wim Taymans 2014-08-29 15:39:48 UTC
Created attachment 932725 [details]
possible patch

The yum backend of PackageKit requires an exact provides match. This makes it so that:

/usr/libexec/pk-gstreamer-install 'gstreamer|1.0|totem|MPEG-1 Layer 3 (MP3) decoder|decoder-audio/mpeg, mpegaudioversion=(int)1, mpegversion=(int)1, layer=(int)3, parsed=(boolean)true'

doesn't find anything because the provides line in the rpm (gstreamer1-plugins-bad-freeworld) package does not contain the mpegaudioversion=1 string. The absence of the mpegaudioversion in the provides line however signals that the plugin can do any mpegaudio version and should thus be considered for installation.

Currently there is a workaround in the gstreamer1-plugins-base package to filter out the mpegaudioversion before calling packagekit. 

The attached patch implements superset search in PackageKit when looking up available rpms.

Comment 1 Jaroslav Reznik 2015-03-03 16:15:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora End Of Life 2016-07-19 12:04:38 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.