Blame SOURCES/0001-Avoid-hard-coding-dependency-versions-by-using-featu.patch

b5ba94
From 51b88b0a6e59107f393d497cf94db07c0865e577 Mon Sep 17 00:00:00 2001
b5ba94
From: Mat Booth <mat.booth@redhat.com>
b5ba94
Date: Sun, 16 Jun 2019 12:22:32 +0100
b5ba94
Subject: [PATCH 1/2] Avoid hard-coding dependency versions by using feature
b5ba94
 imports instead of feature plugins for third party bundles
b5ba94
b5ba94
---
b5ba94
 .../feature.xml                               |  8 +--
b5ba94
 .../feature.xml                               | 32 ++---------
b5ba94
 .../feature.xml                               | 56 ++-----------------
b5ba94
 .../feature.xml                               |  8 +--
b5ba94
 .../feature.xml                               |  7 ---
b5ba94
 .../org.eclipse.ecf.xmpp.feature/feature.xml  |  8 +--
b5ba94
 6 files changed, 11 insertions(+), 108 deletions(-)
b5ba94
b5ba94
diff --git a/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml b/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml
b5ba94
index 0c7810a..d4b0e67 100644
b5ba94
--- a/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml
b5ba94
+++ b/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml
b5ba94
@@ -27,6 +27,7 @@
b5ba94
 
b5ba94
    <requires>
b5ba94
       <import feature="org.eclipse.ecf.discovery.feature" version="1.0.0" match="compatible"/>
b5ba94
+      <import plugin="org.xbill.dns"/>
b5ba94
    </requires>
b5ba94
 
b5ba94
    
b5ba94
@@ -36,11 +37,4 @@
b5ba94
          version="0.0.0"
b5ba94
          unpack="false"/>
b5ba94
 
b5ba94
-   
b5ba94
-         id="org.xbill.dns"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
 </feature>
b5ba94
diff --git a/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml b/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml
b5ba94
index 3405a28..14061df 100644
b5ba94
--- a/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml
b5ba94
+++ b/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml
b5ba94
@@ -27,6 +27,10 @@ Contributors: Composent, Inc. - initial API and implementation
b5ba94
 
b5ba94
    <requires>
b5ba94
       <import feature="org.eclipse.ecf.filetransfer.feature" version="3.9.0" match="compatible"/>
b5ba94
+      <import plugin="org.apache.commons.codec" />
b5ba94
+      <import plugin="org.apache.commons.logging" />
b5ba94
+      <import plugin="org.apache.httpcomponents.httpclient" />
b5ba94
+      <import plugin="org.apache.httpcomponents.httpcore" />
b5ba94
    </requires>
b5ba94
 
b5ba94
    
b5ba94
@@ -36,32 +40,4 @@ Contributors: Composent, Inc. - initial API and implementation
b5ba94
          version="0.0.0"
b5ba94
          unpack="false"/>
b5ba94
 
b5ba94
-   
b5ba94
-         id="org.apache.commons.codec"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.commons.logging"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.httpcomponents.httpclient"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.httpcomponents.httpcore"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
 </feature>
b5ba94
diff --git a/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml b/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml
b5ba94
index 635864e..8d2a450 100644
b5ba94
--- a/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml
b5ba94
+++ b/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml
b5ba94
@@ -21,6 +21,10 @@
b5ba94
 
b5ba94
    <requires>
b5ba94
       <import feature="org.eclipse.ecf.filetransfer.feature" version="3.9.0" match="compatible"/>
b5ba94
+      <import plugin="org.apache.commons.codec" />
b5ba94
+      <import plugin="org.apache.commons.logging" />
b5ba94
+      <import plugin="org.apache.httpcomponents.httpclient" />
b5ba94
+      <import plugin="org.apache.httpcomponents.httpcore" />
b5ba94
    </requires>
b5ba94
 
b5ba94
    
b5ba94
@@ -38,56 +42,4 @@
b5ba94
          version="0.0.0"
b5ba94
          unpack="false"/>
b5ba94
 
b5ba94
-   
b5ba94
-         id="org.apache.commons.codec"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.commons.logging"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="com.sun.jna"
b5ba94
-         os="win32"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="com.sun.jna.platform"
b5ba94
-         os="win32"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.httpcomponents.httpclient"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.httpcomponents.httpclient.win"
b5ba94
-         os="win32"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
-   
b5ba94
-         id="org.apache.httpcomponents.httpcore"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
 </feature>
b5ba94
diff --git a/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml b/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml
b5ba94
index af23e93..284c52f 100644
b5ba94
--- a/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml
b5ba94
+++ b/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml
b5ba94
@@ -32,6 +32,7 @@ https://wiki.eclipse.org/ECF#OSGi_Remote_Services
b5ba94
    <requires>
b5ba94
       <import feature="org.eclipse.ecf.provider.generic.feature" version="1.0" match="compatible"/>
b5ba94
       <import feature="org.eclipse.ecf.remoteservice.feature" version="2.1" match="compatible"/>
b5ba94
+      <import plugin="org.objectweb.asm" />
b5ba94
    </requires>
b5ba94
 
b5ba94
    
b5ba94
@@ -48,11 +49,4 @@ https://wiki.eclipse.org/ECF#OSGi_Remote_Services
b5ba94
          version="0.0.0"
b5ba94
          unpack="false"/>
b5ba94
 
b5ba94
-   
b5ba94
-         id="org.objectweb.asm"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
 </feature>
b5ba94
diff --git a/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml b/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml
b5ba94
index dee188b..0d0d7ad 100644
b5ba94
--- a/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml
b5ba94
+++ b/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml
b5ba94
@@ -50,11 +50,4 @@ https://wiki.eclipse.org/ECF#OSGi_Remote_Services
b5ba94
          version="0.0.0"
b5ba94
          unpack="false"/>
b5ba94
 
b5ba94
-   
b5ba94
-         id="javax.servlet"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
 </feature>
b5ba94
diff --git a/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml b/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml
b5ba94
index a7aa0da..4e3cc0c 100644
b5ba94
--- a/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml
b5ba94
+++ b/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml
b5ba94
@@ -30,6 +30,7 @@ Contributors: Composent, Inc. - initial API and implementation
b5ba94
       <import feature="org.eclipse.ecf.presence.feature" version="1.0" match="compatible"/>
b5ba94
       <import feature="org.eclipse.ecf.datashare.feature" version="1.0" match="compatible"/>
b5ba94
       <import feature="org.eclipse.ecf.remoteservice.feature" version="2.1" match="compatible"/>
b5ba94
+      <import plugin="org.xbill.dns"/>
b5ba94
    </requires>
b5ba94
 
b5ba94
    
b5ba94
@@ -62,11 +63,4 @@ Contributors: Composent, Inc. - initial API and implementation
b5ba94
          fragment="true"
b5ba94
          unpack="false"/>
b5ba94
 
b5ba94
-   
b5ba94
-         id="org.xbill.dns"
b5ba94
-         download-size="0"
b5ba94
-         install-size="0"
b5ba94
-         version="0.0.0"
b5ba94
-         unpack="false"/>
b5ba94
-
b5ba94
 </feature>
b5ba94
-- 
b5ba94
2.20.1
b5ba94