I want to create rpm A, my requirement here is that whenever I install rpm A, It will replace some files which are part of installed rpm B.
for this in debian we used
Provides: pkg C
Conflicts: pkg C
Replaces: pkg C
Replacing whole packages, forcing their removal.
How can I do this in rpm spec file.