Clean the onions, cut in half and cut lengthways into 4 to 8 parts (depending on size). Fry the onions well in hot oil in a large pan, add the tomato pieces, season with the specified spices and finish cooking with the lid closed and reduced heat (just as you want it, firm to the bite or soft). Just before the end, stir in the tomato paste to bind.