[netty] Drop dependency on OSGi

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Feb 27 11:54:47 UTC 2013


commit 8371cd0d00ab9e5f909ed1d70c4f7ec13f5d8791
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Feb 27 12:53:35 2013 +0100

    Drop dependency on OSGi
    
    - Resolves: rhbz#916139

 netty.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/netty.spec b/netty.spec
index 41ca906..3a2e8d0 100644
--- a/netty.spec
+++ b/netty.spec
@@ -1,6 +1,6 @@
 Name:           netty
 Version:        3.6.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An asynchronous event-driven network application framework and tools for Java
 
 Group:          Development/Libraries
@@ -59,13 +59,15 @@ Group:     Documentation
 # just to be sure, but not used anyway
 rm -rf jar doc license
 
-%pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-jxr-plugin']]"
-%pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-checkstyle-plugin']]"
+%pom_remove_plugin :maven-jxr-plugin
+%pom_remove_plugin :maven-checkstyle-plugin
 %pom_remove_plugin org.eclipse.m2e:lifecycle-mapping
 %pom_remove_dep javax.activation:activation
 %pom_remove_plugin :animal-sniffer-maven-plugin
 %pom_xpath_remove "pom:execution[pom:id[text()='remove-examples']]"
 %pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-javadoc-plugin']]/pom:configuration"
+# Felix framework is optional, thus set scope to provided
+%pom_xpath_set "pom:dependency[pom:groupId[text()='org.apache.felix']]/pom:scope" provided
 
 sed s/jboss-logging-spi/jboss-logging/ -i pom.xml
 
@@ -92,6 +94,10 @@ sed -i s/org.jboss.netty.util.internal.jzlib/com.jcraft.jzlib/ \
 %doc LICENSE.txt NOTICE.txt
 
 %changelog
+* Wed Feb 27 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.6.3-2
+- Drop dependency on OSGi
+- Resolves: rhbz#916139
+
 * Mon Feb 25 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.6.3-1
 - Update to upstream version 3.6.3
 


More information about the scm-commits mailing list