Sfoglia il codice sorgente

add support for RSE_PATCH_CVSUSER_CALLER

Ralf S. Engelschall 24 anni fa
parent
commit
3abe58d5c7
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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