Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: cooker@mandrivalinux.org

Mandrake Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


Hi,

I'd like to use %mkrel macro so my packages (dkms for O2 Micro smart card 
reader) is realy clean.
Unfortunately I'm unable to find any recommandation on its usage. (even in 
mdk-rpm-howto-1.1-2mdk and google).

I'm using a custom %distsuffix in my ~/.rpmmacros
and I'd be happy to have generic src.rpm package so they have my custom 
distsuffix when build on site and mdk suffix if built elsewhere. (usefull for 
having a view of localy developped packages and original distro packages).

But it generates a realy strange result I didn't find any explanation for.
%mkrel 1
will generate a 
0.1.20060ecr

how do 0.1 is generated?
I tryed to understand /usr/lib/rpm/mandriva/macros but I had a buffer overflow 
in my brain which also misses a perl plugin ;-)

More simply: what is the purpose of x and y in x.y.20060suffix ?
what means x; what means y: how do I controle them?

Many thanks in advance.
--
	Olivier LAHAYE
	Motorola Labs IT Manager
	Computer & Information Systems
	European Communications Research



Date Index | Thread Index