Bug 178316 - kdelibs-apidocs: use versioned Obsoletes: kdelibs-docs
Summary: kdelibs-apidocs: use versioned Obsoletes: kdelibs-docs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-19 13:34 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-18 13:44:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
sample kdelibs.spec used by kde-redhat (24.71 KB, text/plain)
2006-01-19 13:34 UTC, Rex Dieter
no flags Details

Description Rex Dieter 2006-01-19 13:34:34 UTC
It was discussed on the mailing lists, but so we can track it.  It would be  
nice to package kdelibs' apidocs separately, ideally as a noarch pkg,  
containing (mostly):  
/usr/share/doc/HTML/en/kdelibs-apidocs  
 
Attached is a sample implementation we use with the kde-redhat pkgs that will 
create a noarch kdelibs-apidocs when built with 
rpmbuild -bb --target=noarch kdelibs.spec

Comment 1 Rex Dieter 2006-01-19 13:34:34 UTC
Created attachment 123427 [details]
sample kdelibs.spec used by kde-redhat

Comment 2 Rex Dieter 2006-01-19 13:55:12 UTC
Oops, just noticed kdelibs-3.5.0-5 packages these as -docs.  Any chance of 
renaming to -apidocs to be compatible? 
 
(It's not that big of a deal, we can change to match, but it'll just be a 
little more painful) 

Comment 3 Than Ngo 2006-01-19 15:06:42 UTC
it's fixed in next kdelibs rebuild

Comment 4 Rex Dieter 2006-01-26 20:16:13 UTC
any chance of kdelibs-apidocs being noarch?

Comment 5 Rex Dieter 2006-03-28 19:34:58 UTC
Too late now to change to noarch.  native arch builds are now in the wild.

The crappy part is that yum (seems to) always prefer native arch versions of
same-named pkgs, even though there are newer noarch ones available.

Case-in-point: Using 'yum update' upgrade to kde-redhat's
kdelibs-apidocs-3.5.2.noarch pkg fails.

Comment 6 Rex Dieter 2006-03-28 19:36:42 UTC
Only alternative I see (I strongly think kdelibs-apidocs *should* be noarch) is
to rename the package (go back to kdelibs-docs?), and have it
Obsoletes: kdelibs-apidocs

Comment 7 Rex Dieter 2006-04-03 11:32:02 UTC
In the meantime, please use a *versioned* Obsoletes, like
Obsoletes: kdelibs-docs < %{epoch}:%{version}-%{release}

Comment 8 Than Ngo 2006-05-18 13:44:28 UTC
The problem is that our build system does not allow to build package arch and
noarch simultaneously with only one srpm!

For doing that, it requires 2 srpm sources which we really don't want and always
avoid.

To comment #5: it seems a bug in yum and needs to be fixed.


Comment 9 Rex Dieter 2006-05-18 13:47:03 UTC
Can you at least use a versioned Obsoletes?

Comment 10 Than Ngo 2006-05-18 13:55:43 UTC
sure, it's now in CVS.


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