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

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