[jersey] Do not install source jars

gil gil at fedoraproject.org
Tue Oct 15 13:46:01 UTC 2013


commit 7dc6e807970d24006d3d6cb2075d02c5eaa56706
Author: gil <puntogil at libero.it>
Date:   Tue Oct 15 15:45:50 2013 +0200

    Do not install source jars

 jersey.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/jersey.spec b/jersey.spec
index 118dbb1..be740e3 100644
--- a/jersey.spec
+++ b/jersey.spec
@@ -1,7 +1,7 @@
 %global with_grizzly 1
 Name:          jersey
 Version:       1.17.1
-Release:       6%{?dist}
+Release:       7%{?dist}
 Summary:       JAX-RS (JSR 311) production quality Reference Implementation
 # One file in jersey-core/ is under ASL 2.0 license
 License:       (CDDL or GPLv2 with exceptions) and ASL 2.0
@@ -244,6 +244,8 @@ jersey-test-framework/jersey-test-framework-core/pom.xml
 
 %build
 
+# Do not install source jars
+%mvn_package ":::?*:" __noinstall
 # Fix conflict with jersey-test-framework-core thanks to Mikolaj Izdebski
 %mvn_file :%{name}-test-framework %{name}/%{name}-test-framework-pom
 %mvn_file :%{name}-test-framework-core %{name}/%{name}-test-framework
@@ -299,6 +301,9 @@ install -p -m 644 ant-wadl-task %{buildroot}%{_sysconfdir}/ant.d/ant-wadl-task
 %doc license.html legal/LICENSE.txt legal/maintenance/copyright.txt LICENSE-2.0.txt
 
 %changelog
+* Tue Oct 15 2013 gil cattaneo <puntogil at libero.it> 1.17.1-7
+- Do not install source jars
+
 * Tue Oct 15 2013 gil cattaneo <puntogil at libero.it> 1.17.1-6
 - fix for rhbz#1019234
 


More information about the scm-commits mailing list