[OpenAFS-devel] openafs-1.4.1 build failure on RHEL3 -- aklog fails to build

Derrick J Brashear shadow@dementia.org
Wed, 19 Apr 2006 18:12:04 -0400 (EDT)


On Wed, 19 Apr 2006, Derek Atkins wrote:

> Quoting Derrick J Brashear <shadow@dementia.org>:
>
>>> That would imply a special hook in the SPEC file for RHEL3.  Right now
>>> I have a single SPEC file that builds on all the supported RHEL and FC
>>> systems.
>> 
>> What version of rpm broke conditionals in the specfile?
>
> Show me an rpm conditional based on the OS version number.  It's not like
> there's a %{_osvers} macro that RPM provides to me.  I have an external
> helper script I use when building the full set of RPMS, but I don't want to
> depend on that.

Do you trust the contents of e.g. /etc/redhat-release?

Derrick