[Linux-HA] LZO requirement in interim RPMs
Andrew Beekhof
beekhof at gmail.com
Wed Oct 17 09:31:49 MDT 2007
On 10/12/07, Carson Gaspar <carson at taltos.org> wrote:
> Lars Marowsky-Bree wrote:
> > On 2007-10-11T02:37:05, Carson Gaspar <carson at taltos.org> wrote:
> >> Then either your package is broken (has a missing dependency) or the build
> >> service is broken (doesn't check multi-level dependencies). Yuck. I'll just
> >> keep hacking it out.
> >
> > The internal build system of older SUSE releases indeed doesn't do
> > recursive expansion; newer ones do. So it should be alright to special
> > case this for SUSE in the specfile.
>
> Look at the SPEC file in
> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_7/src/heartbeat-2.1.2-10.1.src.rpm
>
> It has LZO dependencies for _everyone_.
I was under the impression we needed it
Apparently I was mistaken
> And if you undef it, it fails
> because the macro isn't conditionalized when referenced later (%{foo}
> instead of %{?foo}). I had to whack it with a machete to get it to build.
>
> I can provide diffs that improve sanity if so desired... but AFAIK there
> is no RPM macro to detect RHEL4, so I'm not sure how to conditionalize
> the RHEL4 settings properly.
http://en.opensuse.org/Build_Service/cross_distribution_package_how_to
but don't worry, i'm fiddling with it now anyway
More information about the Linux-HA
mailing list