Automatic generation of upgrade campaign specifications