Fix manifest handling in the spec file