I prepared custom package platform-6-1.2.3-1.x86_64.
I want it to be conflicting with every OTHER plat-6 package installed in the system. Files of the package are not conflicting with the others plat-6 packages.
So I filled in spec file with:
Name: platform-6
Provides: plat-6
Conflicts: plat-6
Now, when I install the package on the system, sometimes I get this:
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
platform-6-1.2.3-1.x86_64 has installed conflicts plat-6: platform-6-1.2.3-1.x86_64
Error: check all
I think the issue is
You are making it conflict with itself.
EDIT:
Try