File selfconflicts-provide.diff of Package rpmlint

--- TagsCheck.py
+++ TagsCheck.py
@@ -680,6 +680,7 @@
 
         obs_names = map(lambda x: x[0], pkg.obsoletes())
         prov_names = map(lambda x: x[0].split(':/')[0], pkg.provides())
+        conf_names = map(lambda x: x[0].split(':/')[0], pkg.conflicts())
         req_names = map(lambda x: x[0], pkg.requires() + pkg.prereq())
 
         if pkg.name in obs_names:
@@ -695,6 +696,8 @@
         #       https://bugzilla.redhat.com/460872
         useless_provides=[]
         for p in prov_names:
+            if p in conf_names:
+                printWarning(pkg, 'conflicts-with-provides', p)
             if prov_names.count(p) != 1:
                 if p not in useless_provides:
                     useless_provides.append(p)
@@ -796,6 +799,10 @@
 '''There is no Name tag in your package. You have to specify a name using the
 Name tag.''',
 
+'conflicts-with-provides',
+'''The same symbolic name is provided and conflicted. This package might be
+uninstallable, if versioning matches''',
+
 'non-coherent-filename',
 '''The file which contains the package should be named
 <NAME>-<VERSION>-<RELEASE>.<ARCH>.rpm.''',
openSUSE Build Service is sponsored by