Bug 195765

Summary: Monodoc takes ownership of directories it shouldn't
Product: [Fedora] Fedora Reporter: Brian Pepple <bdpepple>
Component: monodocAssignee: Paul F. Johnson <paul>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa, gemi
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-04 15:21:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Brian Pepple 2006-06-17 14:56:29 UTC
Description of problem:  Monodoc is taking ownership of directories that it
shouldn't.  For proof of this, run 'rpm -qf /usr/lib/mono' & 'rpm -qf
/usr/lib/mono/gac' which should be owned by the mono-core package.

Also, why wasn't this built for FC5?

Comment 1 Paul F. Johnson 2006-06-17 15:51:08 UTC
Thanks - I'll get that fixed.

It's not in core as until monodevelop is available, it's pointless to do so as
the app doesn't work standalone. 

Comment 2 Brian Pepple 2006-06-17 16:08:06 UTC
Actually, other mono packages can use it (for instance daap-sharp).

Comment 3 Gérard Milmeister 2006-06-21 17:39:42 UTC
In fact monodoc does not take ownership of directories that it should,
namely /usr/lib/monodoc.

Comment 4 Brian Pepple 2006-06-21 17:59:26 UTC
Gérard is correct.  You should be using '%{_libdir}/%{name}/' instead of how
your currently handling.  This will also take ownership of any children
directories.  This seems to be a common problem for you, and I would suggest
working with a mentor or your sponsor so this doesn't occur with any future
packages you submit to FE.

Comment 5 Paul F. Johnson 2006-06-21 23:19:18 UTC
#4 okay, help me here to understand

In the spec file, I have a number of lines such as


monodoc takes ownership of them.

Are you saying that all I need is 


and not the lines currently there?

I actually have the %{_libdir}/%{name}/ bit in 1.1.13-10 but changed it for
1.1.13-12 (probably after misreading something!)

Comment 6 Brian Pepple 2006-06-21 23:39:56 UTC

You can replace this:

With this:

This will give you ownership of %{_libdir}/%{name}, and all it's children
directories and files.

Comment 7 Paul F. Johnson 2006-06-22 00:12:06 UTC
Thanks - fixed and should be in the next push

Comment 8 Gérard Milmeister 2006-06-22 22:13:00 UTC
I don't want to appear picky :-) but shouldn't /usr/lib/mono/monodoc be
owned too? (version monodoc-1.1.13-13.fc5)