RFC: Soname in rpm name

Féliciano Matias feliciano.matias at free.fr
Mon Jan 24 11:01:01 UTC 2005


Le lundi 24 janvier 2005 à 11:45 +0100, Peter Backlund a écrit :
> [snip]
> 
> > solution. I've searched a bit, and it seems that Mandrake and Debian both
> > have a policy to include the library soname in the package name :
> > http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowToAdvanced#Library_policy
> 
> Unrelated, but I have to ask: what is the purpose of defining
> name/version/release like this:
> 
> %define name    gtkmm
> %define version 1.2.4
> %define release 1mdk
> 
> and then:
> 
> Name:           %{name}
> Version:        %{version}
> Release:        %{release}
> 
> I've seen it in a number of spec files. 

What about :

%define _name    gtkmm
%define _version 1.2.4
%define _release 1mdk

and then:

%define name    _name
%define version _version
%define release _release

and then:

Name:           %{name}
Version:        %{version}
Release:        %{release}

>
> And please no "Well, Mandrake sucks!".
> 

And please no "Well, you suck!".

> /Peter
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20050124/2eb7717f/attachment-0002.bin 


More information about the devel mailing list