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

Re: RFC: Soname in rpm name



On Mon, Jan 24, 2005 at 11:45:30AM +0100, Peter Backlund wrote:

> 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. 

Technically useless, except that the idea probably is that the
%define's are in top of the spec file and can be found (even)
more easy than the corresponding headers when you want to change
them.  It's a matter of taste (and I personally don't like this).

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


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