[cAos-devel] Vim 7 built for cAos2

Michael Jennings mej at caosity.org
Mon Oct 2 01:16:14 GMT 2006


On Friday, 29 September 2006, at 22:52:45 (-0500),
James Boothe wrote:

> Good evening guys,
> 
> I've built Vim7 for caos and thrown the binaries and src rpm up on
> my web server. Take a look, but please excuse the minor messes left
> in my spec file. That one has made it around the block through
> several versions of vim and multiple OSes. I plan on doing some
> cleanup on it later this weekend.
> 
> http://borkedweb.com/caos2/RPMS
> http://borkedweb.com/caos2/SRPMS

Overall this looks really good, especially for a first submission. :)

As you mentioned, some cleanups need to happen to the spec, nothing
major.  Here's what I noticed:

1.  Epoch: 2 needs to go.
2.  Use standard macros wherever possible (e.g., %{_datadir} instead
    of /usr/share, %{__install} in place of the install command,
    %{_bindir} instead of /usr/bin, %{__mkdir_p}, %{__rm}, etc.).
3.  Conditional build stuff will be much cleaner if you use the %bcond
    macro stuff.  There's a great example of how to cleanly handle
    autoconf/%configure options, build requirements, etc. for
    conditional builds here:

http://mirror.caosity.org/cAos-2/ext/autobuilder/i386/00_LOGS/comm/jabberd/SPECS/jabberd.spec

This is somewhat new, so feel free to ask questions.

The only showstopper here is the Epoch, which is easily removed.
Unless you object, I'd like to go ahead and update our vim package
with this.  Cleanups can always go in later.  Like I said, great first
submission! :)

Thanks,
Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej at kainx.org>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I always wait until a jury has spoken before I anticipate what they
  will do."                          -- US Attorney General Janet Reno


More information about the cAos-devel mailing list