disabling rpm fetch

Elan Ruusamäe glen at delfi.ee
Tue Nov 3 23:22:42 CET 2015


how do you disable rpm from fetching sources?
from build/parsePrep.c i see such macros, but defining them to %{nil} 
had no effect.

     if (sp->flags & RPMFILE_SOURCE) {
         Rmacro = "%{?_Rsourcedir}/";
     } else
     if (sp->flags & RPMFILE_PATCH) {
         Rmacro = "%{?_Rpatchdir}/";
     } else
     if (sp->flags & RPMFILE_ICON) {
         Rmacro = "%{?_Ricondir}/";
     } else
         continue;

-- 
glen



More information about the pld-devel-en mailing list