Bug 569536

Summary: %find_lang --with-man causes system dir ownerships
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, jnovy, pmatilai
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rpm-4.8.0-14.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-17 17:35:11 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:
Bug Depends On:    
Bug Blocks: 569444    

Description Ville Skyttä 2010-03-01 16:51:45 UTC
See bug 569444 - vdr-epgsearch uses "%find_lang %{name} --all-name --with-man" which apparently causes ownership of too many localized man dirs per Fedora standards.

Comment 1 Panu Matilainen 2010-03-02 07:10:02 UTC
Heh, I seem to recall a bug about them *not* being owned. Ok not a bug, but a patch by you :) Obviously easy to fix, but the fundamental problem is that this sort of thing gets rpm far too deep into land of distro packaging-policies of the day: what's right for Fedora now might not be right for somebody else.

Comment 2 Ville Skyttä 2010-03-02 16:42:55 UTC
Yeah, I have a faint memory of looking into it sometime; I suppose the language specific man dirs (or some of them) were not owned by any "standard" packages back then.  I agree this might be a tough one to sanely fix in rpm itself, but perhaps redhat-rpm-config...?

Comment 3 Panu Matilainen 2010-03-06 08:35:23 UTC
Fedora-specific version of find-lang.sh in redhat-rpm-config is one way to deal with it, but that would bring us back a full circle:
* Tue Jun 19 2007 Jeremy Katz <katzj> - 9.0.0-1
- use stock find-lang.sh (#213041)

I dont see any simple way to fix it "properly", I guess I'll just stick in a Fedora-specific patch for now...

Comment 4 Panu Matilainen 2010-03-16 09:49:35 UTC
Should be "fixed" in rpm-4.8.0-11.fc14

Comment 5 Ville Skyttä 2010-03-16 16:26:39 UTC
Looks like --with-man --all-name is now broken so that it no longer catches the actual man pages either, here's a scratch build of vdr-epgsearch from current devel branch:

http://koji.fedoraproject.org/koji/getfile?taskID=2056650&name=build.log

Comment 6 Panu Matilainen 2010-03-17 05:41:13 UTC
Aargh what braindamage from my part... sorry. Should *really* be fixed in rpm-4.8.0-12.fc14 (this time even slightly tested :)

Comment 7 Ville Skyttä 2010-03-17 17:35:11 UTC
Yep, looks better now, thanks.

Comment 8 Fedora Update System 2010-04-23 11:30:57 UTC
rpm-4.8.0-14.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/rpm-4.8.0-14.fc13

Comment 9 Fedora Update System 2010-04-28 03:04:03 UTC
rpm-4.8.0-14.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.