gil pushed to smack (master). "Do not use OSGi manifest in test JAR"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 10 16:15:53 UTC 2015


>From 12ea44ea324135d39e80d0447e979bd5b8226ddd Mon Sep 17 00:00:00 2001
From: gil <puntogil at libero.it>
Date: Fri, 10 Apr 2015 18:15:40 +0200
Subject: Do not use OSGi manifest in test JAR


diff --git a/smack.spec b/smack.spec
index f870680..609906a 100644
--- a/smack.spec
+++ b/smack.spec
@@ -4,7 +4,7 @@
 %endif
 Name:          smack
 Version:       4.0.7
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Open Source XMPP (Jabber) client library
 License:       ASL 2.0
 URL:           http://www.igniterealtime.org/projects/smack/index.jsp
@@ -198,6 +198,10 @@ for m in experimental extensions legacy resolver-javax; do
 <Service-Component>org.jivesoftware.smack/%{name}-${m}-components.xml</Service-Component>" %{name}-${m}
 done
 
+# Do not use OSGi manifest in test JAR
+%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" %{name}-core
+%pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-jar-plugin']/pom:configuration" %{name}-core
+
 # Fix test deps
 %pom_xpath_inject "pom:plugin[pom:artifactId = 'maven-jar-plugin']" "
 <executions>
@@ -274,6 +278,9 @@ done
 %doc resources/releasedocs/README.html resources/releasedocs/changelog.html
 
 %changelog
+* Fri Apr 10 2015 gil cattaneo <puntogil at libero.it> 4.0.7-2
+- do not use OSGi manifest in test core JAR
+
 * Fri Apr 10 2015 gil cattaneo <puntogil at libero.it> 4.0.7-1
 - update to 4.0.7
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/smack.git/commit/?h=master&id=12ea44ea324135d39e80d0447e979bd5b8226ddd


More information about the scm-commits mailing list