anchor.diff:  FROM centos:6.6
   
  -MAINTAINER David 
  +MAINTAINER David
   
   ENV GIT_URL_IOTACPP https://github.com/telefonicaid/fiware-IoTAgent-Cplusplus.git
   ENV GIT_REV_IOTACPP develop
  
positive.code:     git clone ${GIT_URL_IOTACPP} ${GIT_PATH_IOTACPP} && \
      cd ${GIT_PATH_IOTACPP} && \
      sed -i CMakeLists.txt \
      	-e 's|^add_test|#add_test|g' \
      -e 's|^add_subdirectory(tests)|#add_subdirectory(tests)|g' \
      -e 's|^enable_testing|#enable_testing|g' \
          -e 's|git@github.com:mongodb/mongo-cxx-driver.git|https://github.com/mongodb/mongo-cxx-driver|g' && \
  
negative.code:     mkdir -p  build/${IOTACPP_BUILD_TYPE} && \
      cd build/${IOTACPP_BUILD_TYPE} && \
      cmake -DGIT_VERSION=`get_rpm_version_string | cut -d ' ' -f 1` \
            -DGIT_COMMIT=`get_rpm_version_string | cut -d ' ' -f 2` \
        -DMQTT=ON \
        -DCMAKE_BUILD_TYPE=${IOTACPP_BUILD_TYPE} ../../ && \
      make install && \
      make package && \
      cd pack/Linux/RPM && \
  
      yum clean all && \
  
      yum -y remove autoconf automake bzip2-devel \
            cmake cpp file gcc gcc-c++ git \
           libtool openssl-devel rpm-build \
           scons zlib-devel bzip2 cloog-ppl \
  