[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    [Cooker] drakxtools incorrect renaming/packaging
From:       Zé <mmodem00 () netvisao ! pt>
Date:       2006-04-12 14:43:54
Message-ID: 200604121543.55629.mmodem00 () netvisao ! pt
[Download RAW message or body]

I was looking to drakxtools spec and saw some things not correct.

Regarding the package drakxtools it haves:
Provides: draksec
Obsoletes: draksec

When doing a renaming it must assure/prevent some things like version and 
release, so that in future if someone wants to put back the package draksec, 
can do it, so the correct would be:

Obsoletes: 	draksec < %version-%release
Provides:		draksec = %version-%release

this way is only obsoleting previous draksec packages.

Other thing that i notested is that in the other drakxtools package like for 
example drakxtools-newt is doing renaming where theres no need to do it since 
whats providing are the internal bin files, so here theres no need to exist 
obsoletes , so instead having:

Obsoletes: diskdrake kbdconfig mouseconfig printtool setuptool drakfloppy
Provides: diskdrake, kbdconfig mouseconfig printtool setuptool, drakfloppy = 
%version-%release

Also you see drakfloppy in wich here is needed a renaming to override old 
package drakfloppy, mixed with the provides for bin apps from drakxtools, so 
the corret way would be:
Provides: 	diskdrake, kbdconfig mouseconfig printtool setuptool
Obsoletes:	drakfloppy < %version-%release
Provides: 	drakfloppy = %version-%release

But this kind of problems i have seen in many specs, maybe would be better to 
write some docs or some in mandriva wiki webpages warning about this to 
prevent this situations in future.

regards,
-- 
Zé
Linux user #378762

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic