Works for me (not for all packages).
Try: yum-builddep gedit
 

--
Henrique "LonelySpooky" Junior
http://about.me/henriquejunior


>________________________________
> From: zxq9 <[log in to unmask]>
>To: "[log in to unmask]" <[log in to unmask]> 
>Sent: Sunday, July 1, 2012 9:13 AM
>Subject: SRPM repo directory layout + yum-builddep
> 
>In #slforum today lewellyn mentioned that yum-builddep doesn't seem to work on SL the same way it does on CentOS and upstream.
>
>A command like:
>yum-builddep [package]
>
>fails like this:
>
>> [root@tortilla opt]# yum-builddep openssh
>> Loaded plugins: refresh-packagekit
>> Enabling epel-source repository
>> Enabling tao-dev-source repository
>> No source RPM found for openssh-5.3p1-70.el6.x86_64
>> No uninstalled build requires
>
>> [root@tortilla opt]# yum-builddep samba
>> Loaded plugins: refresh-packagekit
>> Enabling epel-source repository
>> Enabling tao-dev-source repository
>> No source RPM found for samba-3.5.10-114.el6.x86_64
>> No source RPM found for samba-3.5.10-116.el6_2.x86_64
>> No source RPM found for samba-3.5.10-115.el6_2.x86_64
>> No uninstalled build requires
>
>It seems like yum-builddep isn't used by a huge number of folks these days (myself included), but it is useful for people who do local builds outside of mock. The problem appears to be that the repodata indicates a flat directory structure, but within SRPMS/ there is a nested structure which clearly segregates the packages by origin.
>
>Any ideas?
>
>
>