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

List:       evms-devel
Subject:    Re: [Evms-devel] About evms.spec
From:       Peter Smith <peter.smith () utsouthwestern ! edu>
Date:       2004-03-31 23:01:45
Message-ID: 406B4DD9.1020709 () utsouthwestern ! edu
[Download RAW message or body]

Actually, if there was a "VERSION" file in the .tar.gz, I might be able 
to pull the version out of that while running the .spec file.  That may 
work.  I'll have to test.

Peter


Peter Smith wrote:

> Well, I could parse through the _filename_ we are running as 
> (evms-2.3.1.tar.gz) I think and get the version number that way, but 
> that seems very non-ideal to me.  At the time the spec file is used in 
> "rpmbuild --tb evms-2.3.1.tar.gz there is nothing but the spec file in 
> existance.  So it is either manual spec file editting, or manual spec 
> file generation.  Other projects (like gaim for instance) are using a 
> .spec.in file, but then again it looks like they are doing the 
> "autoconf" _and_ a "./configure" before they wrap the whole thing up 
> into the .tar.gz .  That is messy.
>
> Tell me, which is best for evms?  I'd like to work on getting more 
> package-definition files going (such as deb, etc--maybe even some 
> different architectures...) but updating the versioning is a 
> necessity..  I personally think it would work best if we had a .sh 
> script that updates the version # in specific files, just something 
> simple, and you just run it to update the version before generating 
> the .tar.gz ..  Thing is I don't know what your process is to generate 
> the .tar.gz .
>
> Peter



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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