Hello and welcome to the forum. Royal Canin make many varieties of dog food; the nearest I can find in the Dog Food Directory is Mini Adult
and Royal Canin X-Small Adult.
Neither score very highly and both contain a lot of red ingredients.
Regarding the anal glands, it sounds as if you need to take your dog to the vet to have them emptied. Not all dogs scoot when the glands are full. Long term, you want a food that produces good, firm faeces but not too small so that the anal glands are compressed as it passes through. You don't say what the consistency is of your dog's poo but looking at the recipe of RC, I would imagine that there is plenty of it and that it is fairly soft.
It is up to you whether you decide to change food but in the circumstances, I would say that it would be worth considering, especially as you can buy a much better product for the same, or less money. If you are minded to change, there is lots of information on this website about what to look for. You could use the Dog Food Directory
to source a better product.
The forum has a thread here
about the principles of selecting a suitable dog food, which might be helpful. The two most important things are 1) the ingredient list should be crystal clear so you know exactly what is going into your dog. 2) Meat (or fish) should be the first ingredient and it should be named.
Please ask if you need help to find a better product and feedback is always welcome.