Blame SOURCES/eclipse-p2-pick-up-renamed-jars.patch

0f5e1f
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java.orig	2020-06-18 18:36:53.668369677 +0100
0f5e1f
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java	2020-06-18 18:37:10.061182586 +0100
0f5e1f
@@ -1010,7 +1010,7 @@
0f5e1f
 			IInstallableUnit bundleIU = queryForIU(result, bd.getSymbolicName(),
0f5e1f
 					PublisherHelper.fromOSGiVersion(bd.getVersion()));
0f5e1f
 			IArtifactKey bundleArtKey = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
0f5e1f
-			if (bundleIU == null) {
0f5e1f
+			if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
0f5e1f
 				createAdviceFileAdvice(bd, info);
0f5e1f
 				// Create the bundle IU according to any shape advice we have
0f5e1f
 				bundleIU = doCreateBundleIU(bd, bundleArtKey, info);