RPM API: parseSpec and macroContext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to read a number of spec files in a row in my
application. However, I've found that RPM maintains global macro
context inside rpmSpec type.
This way, a macro from the first spec are visible for other spec
files, leading to parsing issues. What should be a proper way to
revert macro context to the initial state before subsequent calling
parseSpec()?

-- 
With best regards,
Matwey V. Kornilov
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux