Bug 645079

Summary: Several unowned dirs in /usr/lib*/python*/site-packages/{hgext,mercurial}
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: mercurialAssignee: Neal Becker <ndbecker2>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: a.badger, dennis, mads, mmcgrath, ndbecker2
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.6.4-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-29 20:34:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2010-10-20 19:33:42 UTC
mock-chroot> find /usr/lib*/python*/site-packages/{hgext,mercurial} | xargs rpm -qf | grep " not "
file /usr/lib64/python2.7/site-packages/hgext/highlight is not owned by any package
file /usr/lib64/python2.7/site-packages/hgext/zeroconf is not owned by any package
file /usr/lib64/python2.7/site-packages/hgext/convert is not owned by any package
file /usr/lib64/python2.7/site-packages/hgext/inotify is not owned by any package
file /usr/lib64/python2.7/site-packages/hgext/inotify/linux is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/hgweb is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/help is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/paper is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/raw is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/gitweb is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/coal is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/atom is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/static is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/monoblue is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/spartan is not owned by any package
file /usr/lib64/python2.7/site-packages/mercurial/templates/rss is not owned by any package

Comment 1 Toshio Ernie Kuratomi 2010-10-21 04:21:05 UTC
Saw your note on the mailing list.  You could also use the builtin recursion of directories in the %files section like this:

%{python_sitearch}/mercurial/
%{python_sitearch}/hgext/

That will catch those two directories and all the files (and directories) inside of them.

Comment 2 Neal Becker 2010-10-21 12:15:51 UTC
No, this won't work.  That's what I had done originally.

Comment 3 Toshio Ernie Kuratomi 2010-10-21 14:53:25 UTC
No, you didn't.  For the directories, you had this:

%dir %{python_sitearch}/mercurial
%dir %{python_sitearch}/hgext

%dir tells rpm to not recurse the directories.