Bug 436579 - apidocs subpackage should be noarch
Summary: apidocs subpackage should be noarch
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-08 00:55 UTC by Jon Stanley
Modified: 2008-03-27 16:06 UTC (History)
3 users (show)

Fixed In Version: 4,0.2-11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-27 16:06:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Stanley 2008-03-08 00:55:54 UTC
There is no compiled code contained in the 250MB apidocs subpackage.  I maintain
a local mirror at home over a slow (1.5Mbps) link.  It would be nice if I could
just download a new apidocs once rather than twice in an rsync session (I carrry
i386 and x86_64).

Comment 1 Rex Dieter 2008-03-08 01:28:38 UTC
I'm glad I'm not the only one that thinks thusly.  :)

Comment 2 Rex Dieter 2008-03-08 01:57:05 UTC
In fairness, we had no idea apidocs would be so large.  Being so, makes the case
for noarch compelling.

Comment 3 Kevin Kofler 2008-03-08 14:16:36 UTC
Subpackages can't be noarch.

I see only 2 solutions:
* building a second SRPM: That duplicates the SRPMs, doubles the maintainership 
effort and is overall not worth it (and 2 out of the 3 other KDE maintainers 
agreed with me when we discussed this in the meetings).
* hacks like what the kernel package is using: yuck!

I'm closing this as CANTFIX because this is impossible to fix due to a 
technical limitation in RPM.

Comment 4 Rex Dieter 2008-03-08 14:24:02 UTC
Let's please discuss it (again), before concluding WONTFIX (not CANTFIX).

Comment 5 Kevin Kofler 2008-03-08 14:34:11 UTC
Is the kernel package somehow special-cased or is the kernel.spec hack going to 
work for us too?

For reference, the hack is to:
ExclusiveArch: noarch i386 x86_64 ppc ppc64 ...
and to use %ifarch noarch and %ifnarch noarch everywhere.

Comment 6 Kevin Kofler 2008-03-08 14:34:56 UTC
(By the way, I don't like that hack because it requires listing all the arches, 
which is a PITA each time a new secondary arch is added.)

Comment 7 Kevin Kofler 2008-03-08 14:40:28 UTC
And IMHO something which is impossible to fix without ugly hacks should be 
marked NOTABUG or CANTFIX, not WONTFIX. :-)

Comment 8 Rex Dieter 2008-03-08 14:51:55 UTC
kernel isn't special cased, but does require adding information to koji (I believe).

otoh, a separate srpm approach allows us not to respin -apidocs for *every*
kdelibs rebuild.

Not particularly fun, either way.

Comment 9 Jon Stanley 2008-03-27 16:06:09 UTC
noticed fixed in 4.0.2-11.

Thanks!


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