On 5 Apr 2016 20:00, "Richard Shaw" <hobbes1069@gmail.com> wrote:
>
> On Tue, Apr 5, 2016 at 1:25 PM, James Hogarth <james.hogarth@gmail.com> wrote:
>>
>>
>> On 5 April 2016 at 18:41, Richard Shaw <hobbes1069@gmail.com> wrote:
>>>
>>> Fedora is currently two major and one minor release behind on OCE due to the fact that smesh had not been updated to some library/API changes. Secondarily smesh would not build on GCC 6 but that has now been fixed.
>>>
>>> I plan to build OCE 0.17.1 and newly released smesh 6.6 in the next day or so.
>>>
>>> On a tangent, I was able to figure out required rebuilds with yum/repoquery but I can't seem to find the magic incantation for "dnf repoquery". 
>>>
>>> Is there a documented "best practice/known good" command in the wiki and I just can't find it? 
>>>
>>
>>
>> dnf repoquery --whatrequires foo ought to show you what has a requires on foo to find it ... make sure you check whatever you provide that you expect people to be requiring on ... 
>
>
> There are too many packages and libraries to do manually one-by-one, here's the old repoquery way though I'm not sure why it's ignoring my --qf option:
>
> $ repoquery --disablerepo=* --enablerepo=rawhide --provides OCE\* | xargs repoquery --disablerepo=* --enablerepo=rawhide --source --qf="%{name}" --whatrequires | sort | uniq
>
> [remove output about yum being depreciated]
>
> gmsh-2.12.0-1.fc25.src.rpm
> netgen-mesher-5.3.1-10.fc24.src.rpm
> OCE-0.16.1-7.fc24.src.rpm
> smesh-6.5.3.1-11.fc24.src.rpm
>
>

Orion was right and had the bit I missed in my cursory look at man dnf.plugin.repoquery

root@server ~]# dnf repoquery --alldeps --whatrequires php-sabre-event
Last metadata expiration check: 2:26:25 ago on Tue Apr  5 17:45:29 2016.
owncloud-0:8.1.5-1.fc23.noarch
owncloud-0:8.2.3-4.fc23.noarch
php-sabre-dav-0:2.1.10-1.fc23.noarch
php-sabre-dav-0:2.1.6-1.fc23.noarch
php-sabre-http-0:3.0.5-1.fc23.noarch

Without alldeps that won't find those items as they depend on the php-composer virtual provides