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

11dc0f
--- 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
11dc0f
+++ 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
11dc0f
@@ -885,7 +885,7 @@
11dc0f
 			//First check to see if there is already an IU around for this
11dc0f
 			IInstallableUnit bundleIU = queryForIU(result, bd.getSymbolicName(), PublisherHelper.fromOSGiVersion(bd.getVersion()));
11dc0f
 			IArtifactKey bundleArtKey = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
11dc0f
-			if (bundleIU == null) {
11dc0f
+			if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
11dc0f
 				createAdviceFileAdvice(bd, info);
11dc0f
 				// Create the bundle IU according to any shape advice we have
11dc0f
 				bundleIU = doCreateBundleIU(bd, bundleArtKey, info);