According to [EMAIL PROTECTED]:
>        This is a question for Gilles, mostly. It would be nice to have
> a script in the htdig-3-2-x tree to generate an RPM distribution. I could
> do that in addition to make distcheck to be sure nothing is broken. 
> 
>        If you don't have such a script I'd be happy with a bunch of 
> command lines and spec files to assemble.

I've just committed a copy of contrib/htdig-3.2.0.spec to CVS
(htdig-3-2-x), to serve as a spec file for building 3.2.0b1.  (You may
want to modify the version number for the development snapshots.)
It's essentially the spec file I was using in the summer.  I had
added a config patch to it in December, to deal with the DESTDIR in
db/dist/Makefile.in, but removed it now that this change is in the source.
I had also toyed with using --disable-shared, to avoid shared libraries,
but now that the db library should be renamed to htdb, to avoid conflicts,
it should be OK to use shared libraries again.

I haven't tested it yet (not since that wasted day in December), so it
may still need some tweaking.  I doubt I'll find the time this week,
though, but feel free to try it out yourself.

There aren't really any other scripts I use.  I use the command:

        rpm -ba htdig-3.2.0.spec

to build the RPMs, and if all goes well, that's all that's needed on a
given system.  I also copy things over to other systems, and tweak the
release number, to get the other RPM binaries (glibc & glibc21).

When the build fails, I have to find out why, and what changes are
needed to make it work.  I add the changes as patch files, and then
rebuild again.

As for testing, I didn't install any of the 3.2.0-dev RPMs I had built
on my production system, because I didn't want to wipe out my 3.1.x
installation, so I'd run it straight from the BuildRoot directory, with
modified htdig.conf and rundig.  I had planned to install the 3.2 RPM
I had built on one of my glibc 2.1 systems, to test it there, but ran
out of time.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to