Description of problem: $ repoquery -q --whatprovides perl(Util) 389-ds-base-0:1.2.2-3.fc12.x86_64 389-ds-base-0:1.2.2-3.fc12.i686 glibmm24-devel-0:2.21.5-1.fc12.x86_64 glibmm24-devel-0:2.21.5-1.fc12.i686 $ repoquery -q --whatrequires "perl(Util)" 389-admin-0:1.1.8-6.fc12.i686 glibmm24-devel-0:2.21.5-1.fc12.i686 glibmm24-devel-0:2.21.5-1.fc12.x86_64 389-ds-base-0:1.2.2-3.fc12.x86_64 389-admin-0:1.1.8-6.fc12.x86_64 389-ds-base-0:1.2.2-3.fc12.i686 So, these packages can get pulled into to satisfy each others's deps. Version-Release number of selected component (if applicable): glibmm24-0.2.21.5-1 389-ds-base-1.2.2-3 How reproducible: 100%
We need to rename Util.pm(.in) to DSUtil.pm(.in) /me grumbles at global namespace for perl modules, even though they are not installed in PERLLIB . . .
That's really an unfortunate feature of RPM. Can the automatic detection of Perl dependencies be constrained to a set of known directories ? (or is that already the case ?) I can patch the glibmm24 perl scripts to rename them, but that's somewhat error-prone.
I'm definitely going to patch the 389 scripts.
CC'ing RPM maintainer, but, AFAIK, the perl auto-provides script isn't configurable.
Created attachment 362019 [details] patch - ds
Created attachment 362020 [details] patch - admin
Reviewed by: nhosoi (Thanks!) Fix Description: Rename "Util" to "DSUtil" Platforms tested: Fedora 11 x86_64 Flag Day: no Doc impact: no To ssh://git.fedorahosted.org/git/389/ds.git cc89083..c11f181 master -> master commit c11f1818c19233bdb6e54823b0c1352d4377fb75 Author: Rich Megginson <rmeggins> Date: Mon Sep 21 15:30:00 2009 -0600 To ssh://git.fedorahosted.org/git/389/admin.git 830ad0a..7eba108 master -> master commit 7eba1088d5bc6743ed7da2c3fd47e539d8774c80 Author: Rich Megginson <rmeggins> Date: Mon Sep 21 15:29:14 2009 -0600
Is this applicable to RHEL or just Fedora? If so, please add steps to verify. Thanks
(In reply to comment #8) > Is this applicable to RHEL or just Fedora? If so, please add steps to verify. > Thanks I think it is applicable to RHEL. Try the repoquery as specified in the bug report. e.g. on RHEL5 x86_64 # repoquery -q --whatprovides 'perl(Util)' glibmm24-devel-0:2.12.10-1.el5.i386 glibmm24-devel-0:2.12.10-1.el5.x86_64 glibmm24-devel-0:2.12.8-1.rhis.i386 # repoquery -q --whatprovides 'perl(DSUtil)' <should list only redhat-ds-* packages>
verified - F12 and RHEL 5 x86_64 [root@sssdldap jenny]# repoquery -q --whatprovides 'perl(Util)' glibmm24-devel-0:2.22.1-1.fc12.x86_64 glibmm24-devel-0:2.22.1-1.fc12.i686 [root@sssdldap jenny]# repoquery -q --whatprovides 'perl(DSUtil)' 389-ds-base-0:1.2.5-1.fc12.x86_64 389-ds-base-0:1.2.5-1.fc12.i686 389-ds-base-0:1.2.3-1.fc12.x86_64 389-ds-base-0:1.2.3-1.fc12.i686 [root@dsrhel5-64vma ~]# repoquery -q --whatprovides "perl(Util)" [root@dsrhel5-64vma ~]# repoquery -q --whatprovides "perl(DSUtil)" redhat-ds-base-0:8.2.0-2010051704.el5dsrv.x86_64