-
Notifications
You must be signed in to change notification settings - Fork 24
Spec parsing
Florian Festi edited this page May 19, 2020
·
1 revision
-
int readLine(rpmSpec spec, int strip)
- get next preprocessed line-
readLineFromOFI
- for filling spec->fileStack->readBuf- Closes file and returns to previous one
-
copyNextLineFromOFI
- copy from spec->fileStack->readBuf to spec->lbuf, setspec->nextline
-
expandMacrosInSpecBuf
-
parseLineType
to detect%if
,%else
, ... -
specExpand
- if !spec->readStack->readingrpmExpandMacros
-
-
-
copyNextLineFinish
- set \0 at line break, spec->line = spec->nextlinehandleComments
- Handle
%if
and friends and%include
- Set line to "" if !spec->readStack->reading
-