Red Hat Bugzilla – Bug 309581
grass-support macro fails to disable grass support
Last modified: 2008-05-26 12:07:58 EDT
Description of problem:
The _with_grass macro in the srpm doesn't have the desired effect. The logic in
the grass_support macro is failing to disable grass_support when _with_grass is
set to 0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpmbuild --define '_with_grass 0' gdal.spec
(I also tried setting it in the file and not using the define on the command line)
Fails to build gdal since grass-devel isn't installed
Grass support disabled and build succeeds
I would like to know what the suggested method of building both grass and gdal
is. Are these the proper steps?
-build gdal without grass support
-install gdal without grass support
-build gdal with grass support
-upgrade gdal to version with grass support
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
> I would like to know what the suggested method of building both grass and gdal
> is. Are these the proper steps?
> -build gdal without grass support
> -install gdal without grass support
> -build grass
> -install grass
> -build gdal with grass support
> -upgrade gdal to version with grass support
removed this option, and hardcoded. however relese cycle is long enugh upstream.