The README shows:
registry = system_macro_registry()
with open("SPEC", "r", encoding="utf8") as fd:
expanded_specfile = specfile_expand(fd.read(), registry)
print("Name:", registry["name"].value)
print("Version:", registry["version"].value)
That makes me think everything operates on one registry.
How do I parse multiple specfiles without polluting the registry or without calling IO-expensive system_macro_registry for each?
The README shows:
That makes me think everything operates on one registry.
How do I parse multiple specfiles without polluting the registry or without calling IO-expensive system_macro_registry for each?