Explorar el Código

add support for RSE_PATCH_CVSUSER_CALLER

Ralf S. Engelschall hace 24 años
padre
commit
3abe58d5c7
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      cvs/cvs.spec

+ 4 - 1
cvs/cvs.spec

@@ -31,6 +31,9 @@
 #   optional support for applying the RSE patches
 %if "%{?rse_patches:set}" != "set"
 %define       rse_patches no
+%if "%{?rse_patch_cvsuser_caller:set}" != "set"
+%define       rse_patch_cvsuser_caller cvs
+%endif
 %endif
 
 #   package information
@@ -93,7 +96,7 @@ AutoReqProv:  no
     ( cd cvs-%{V_cvs}
       CC="%{l_cc}" \
 %if "%{rse_patches}" == "yes"
-      CFLAGS="%{l_cflags -O} -DRSE_PATCHES" \
+      CFLAGS="%{l_cflags -O} -DRSE_PATCHES -DRSE_PATCH_CVSUSER_CALLER=\"%{rse_patch_cvsuser_caller}\"" \
 %else
       CFLAGS="%{l_cflags -O}" \
 %endif