Bug 685080

Summary: Gstreamer plugin provides not getting generated
Product: [Fedora] Fedora Reporter: Panu Matilainen <pmatilai>
Component: gstreamerAssignee: Benjamin Otte <otte>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bnocera, nathanael, otte
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: 2011-03-21 10:21:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch to (re-)enable gstreamer plugin provides none

Description Panu Matilainen 2011-03-15 09:12:33 UTC
Created attachment 484401 [details]
Patch to (re-)enable gstreamer plugin provides

Description of problem:
Gstreamer plugin provides are not getting generated in rawhide and f15 since the update to rpm 4.9.0.

Version-Release number of selected component (if applicable):
gstreamer-0.10.32-2 (f15 and rahide)

How reproducible:
Always

Steps to Reproduce:
1. Build a package containing gstreamer plugins on rawhide/f15
  
Actual results:
Provides for the plugins are not generated, breaking automatic codec installation via PackageKit etc.

Expected results:
Should generate special provides for codecs and such - there should be lots of them:

[pmatilai@localhost ~]$ rpm -q gstreamer-plugins-good
gstreamer-plugins-good-0.10.26-1.fc14.x86_64
[pmatilai@localhost ~]$ rpm -q --provides gstreamer-plugins-good|wc -l
144
[pmatilai@turre ~]$ rpm -q gstreamer-plugins-good
gstreamer-plugins-good-0.10.27-3.fc15.x86_64
[pmatilai@turre ~]$ rpm -q --provides gstreamer-plugins-good|wc -l
66

Additional info:
I'm copy-pasting here the mail + patch to adjust gstreamer to the new mechanism in rpm 4.9.0 I sent on January 18th to Benjamin Otte (who I figured is the gstreamer maintainer). Either the message has gone to /dev/null, gotten ignored due to being busy or whatever but the necessary adjustment still hasn't been applied, and unfortunately fixing it now requires extra rebuilds and updates to f15+rawhide for all gstreamer packages once its actually applied, and filing in bugzilla so it actually gets tracked somewhere:

---
Date: Tue, 18 Jan 2011 13:14:59 +0200 (EET)
From: Panu Matilainen <pmatilai>
To: Benjamin Otte <otte>
Subject: gstreamer plugin provide update for rpm 4.9.0
Message-ID: <alpine.LFD.2.02.1101181259360.32097>
User-Agent: Alpine 2.02 (LFD 1266 2009-07-14)

Hi,

The gstreamer plugin provide generation needs some adjusting for rpm 4.9.0 
which, attached patch against rawhide gstreamer makes the provide 
generation work in rawhide. I left the former macro stuff commented out as 
I don't know if you are planning to share the same version with eg f14:

If you intend to share the same spec with f14 and older then it needs to 
be conditionalized, the fileattrs thing is not supported in older rpm 
versions and the former macros approach wont work with rpm >= 4.9.0.

Technically this change might call for conflicts on rpm-build version but 
that seems a bit draconian...

	- Panu -

---

Attached is the patch sent along with the above mail.

Comment 1 Bastien Nocera 2011-03-21 10:21:58 UTC
Built in gstreamer-0.10.32-4.fc15