G. Massera wrote:
I linked the cmake project contained in openSuse:10.3 ... and I found and error at line 20 of cmake.spec that block compiling it on CentOS_5 and RHEL_5. In details, this line give error on above platforms: %if %suse_version > 1020 I think it should substitute with the more portable version documented at http://en.opensuse.org/Build_Service/cross_distribution_package_how_to#Detec...
The BuildRequires field for CentOS_5 and RHEL_5 can be the same and equal to:
BuildRequires: expat-devel curl-devel expat gcc-c++ libstdc++-devel ncurses-devel
Do you have cmake package that builds on RHEL (and still builds on openSUSE)? It would be great to build such tools in one place (devel:tools:scm) for as many distributions as possible, to avoid having to rebuild in other projects. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org