add spec and patch