Alan Robertson wrote:
> Monty Taylor wrote:
>> Hey all,
>>
>> I just realized that I may have replied to an old message and caused
>> what I sent to get buried in the past of a threaded client. :) So here
>> it is again... sorry for the repost if you had already seen it. I've
>> been seeing discussion of spec file work, so I thought I'd jump and
>> down a little before I have more merging work to do.
>>
>> I've been hacking on the spec file for a little while and figured I
>> should maybe start sharing. I wind up building RPMs at client sites
>> almost every week. (I know - I could just set up a repository - but
>> where's the fun in that)
>>
>> I had a problem building on 32-bit installs, since the /usr/lib64
>> location is hardcoded in to several places.
>
> heartbeat.spec is not what you should be looking at.
>
> Please look at heartbeat.spec.in
>
> And, the 64-bit issues should be fixed in 2.0.7 (and maybe in 2.0.6 --
> forget) -- even though they might look broken. Please try and verify if
> it works in practice.
Lars and Andrew only care about RPMs in the context of "official SUSE
Linux RPMs". [Andrew also cares about OS/X, but they don't use RPMs ;-)].
The process we have produces RPMs for any distribution and any platform.
This is never true if you have a non-autoconf-generated spec file.
And, you can also generate RPMs that conform to your local conventions -
which might be different from your distributor's.
Anyone who grabs the tar ball and says ./ConfigureMe rpm
--configure-flags-of-whatever will wind up with an RPM made custom for
their selected configuration flags.
Unfortunately, there are significant differences between distributions
and platforms - so AFAIK it is impossible to produce a source RPM which
correctly builds binary RPMs for every distribution perfectly (including
all the dependencies on other packages).
Building from the tar ball can work perfectly for every distribution and
platform. How perfectly it builds depends a lot on how well people have
put the right dependencies (and differences between distros) into the
configure process.
But, the 64-bit-isms are still kind of annoying thorns in my side with
respect to .src.rpms, I confess -- because what I'm doing now is
definitely a kludge.
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/