Skip to main content

specfile.exceptions

SpecfileException

class SpecfileException(Exception)

Base class for all library exceptions.

RPMException

class RPMException(SpecfileException)

RPM exception.

MacroRemovalException

class MacroRemovalException(SpecfileException)

Impossible to remove a RPM macro.

OptionsException

class OptionsException(SpecfileException)

Unparseable option string.

UnterminatedMacroException

class UnterminatedMacroException(SpecfileException)

Macro starts but doesn't end.

DuplicateSourceException

class DuplicateSourceException(SpecfileException)

Source with the same location already exists.

SourceNumberException

class SourceNumberException(SpecfileException)

Incorrect numbering of sources.