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

dc388e
--- 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
dc388e
+++ 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
dc388e
@@ -1010,7 +1010,7 @@
dc388e
 			IInstallableUnit bundleIU = queryForIU(result, bd.getSymbolicName(),
dc388e
 					PublisherHelper.fromOSGiVersion(bd.getVersion()));
dc388e
 			IArtifactKey bundleArtKey = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
dc388e
-			if (bundleIU == null) {
dc388e
+			if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
dc388e
 				createAdviceFileAdvice(bd, info);
dc388e
 				// Create the bundle IU according to any shape advice we have
dc388e
 				bundleIU = doCreateBundleIU(bd, bundleArtKey, info);