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

d433ea
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java.orig	2018-04-25 15:35:44.914031196 +0100
d433ea
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java	2018-04-25 15:36:17.546856697 +0100
d433ea
@@ -885,7 +885,7 @@
d433ea
 			//First check to see if there is already an IU around for this
d433ea
 			IInstallableUnit bundleIU = queryForIU(result, bd.getSymbolicName(), PublisherHelper.fromOSGiVersion(bd.getVersion()));
d433ea
 			IArtifactKey bundleArtKey = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
d433ea
-			if (bundleIU == null) {
d433ea
+			if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
d433ea
 				createAdviceFileAdvice(bd, info);
d433ea
 				// Create the bundle IU according to any shape advice we have
d433ea
 				bundleIU = doCreateBundleIU(bd, bundleArtKey, info);