Lars Marowsky-Bree wrote:
On 2007-10-11T02:37:05, Carson Gaspar <[EMAIL PROTECTED]> 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_. 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.

--
Carson
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to