Bug 645079 - Several unowned dirs in /usr/lib*/python*/site-packages/{hgext,mercurial}
Summary: Several unowned dirs in /usr/lib*/python*/site-packages/{hgext,mercurial}
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mercurial
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Neal Becker
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-20 19:33 UTC by Ville Skyttä
Modified: 2011-01-29 20:34 UTC (History)
5 users (show)

Fixed In Version: 1.6.4-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-29 20:34:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.