[jenkins] Exclude unneeded JARs

Michal Srb msrb at fedoraproject.org
Fri Jul 11 08:46:17 UTC 2014


commit 4f021cf4fdb29abcf954881ea914700610fcedc2
Author: Michal Srb <msrb at redhat.com>
Date:   Fri Jul 11 09:57:09 2014 +0200

    Exclude unneeded JARs

 jenkins.spec |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/jenkins.spec b/jenkins.spec
index c26ef0b..6e28fc6 100644
--- a/jenkins.spec
+++ b/jenkins.spec
@@ -8,7 +8,7 @@
 
 Name:           jenkins
 Version:        1.569
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An extendable open source continuous integration server
 
 # The project's primary license is MIT
@@ -411,6 +411,37 @@ cp %{SOURCE2} LICENSE-CDDL.txt
         <artifactId>xstream</artifactId>
     </exclusion>
 </exclusions>'
+%pom_change_dep org.springframework:spring-webmvc : core '
+<exclusions>
+    <exclusion>
+        <groupId>com.thoughtworks.xstream</groupId>
+        <artifactId>xstream</artifactId>
+    </exclusion>
+</exclusions>'
+%pom_change_dep org.acegisecurity:acegi-security : core '
+<exclusions>
+  <exclusion>
+    <groupId>org.springframework</groupId>
+    <artifactId>spring-remoting</artifactId>
+  </exclusion>
+  <exclusion>
+    <groupId>org.springframework</groupId>
+    <artifactId>spring-support</artifactId>
+  </exclusion>
+  <exclusion>
+    <groupId>com.thoughtworks.xstream</groupId>
+    <artifactId>xstream</artifactId>
+  </exclusion>
+</exclusions>'
+
+# spring-aop pulls in a lot of tomcat libs, these will be provided by tomcat itself
+%pom_change_dep org.springframework:spring-aop : core '
+<exclusions>
+    <exclusion>
+        <groupId>org.apache.tomcat</groupId>
+        <artifactId>tomcat-catalina</artifactId>
+    </exclusion>
+</exclusions>'
 
 
 # quick fix for newer version of jenkins-remoting
@@ -631,6 +662,9 @@ exit 0
 %doc LICENSE.txt
 
 %changelog
+* Fri Jul 11 2014 Michal Srb <msrb at redhat.com> - 1.569-2
+- Exclude unneeded JARs
+
 * Thu Jun 26 2014 Michal Srb <msrb at redhat.com> - 1.569-1
 - Update to upstream version 1.569
 


More information about the scm-commits mailing list