[jetty] Fix patch for disabling OSGi

Mikolaj Izdebski mizdebsk at fedoraproject.org
Tue Aug 7 06:40:41 UTC 2012


commit 8c493e82e9f8e4d2de28baaeae296058a63d5199
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Tue Aug 7 08:33:00 2012 +0200

    Fix patch for disabling OSGi
    
    This fixes FTBFS.

 jetty.spec |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/jetty.spec b/jetty.spec
index a55f437..a9d6187 100644
--- a/jetty.spec
+++ b/jetty.spec
@@ -608,6 +608,14 @@ find . -name "*.class" -exec rm {} \;
 %pom_xpath_remove "pom:execution[pom:id[text()='copy-spdy']]" jetty-distribution
 
 %if 0%{?rhel} > 0
+# Disable OSGi
+%pom_disable_module jetty-osgi
+%pom_xpath_remove "pom:profile[pom:id[text()='osgi']]"
+
+# Disable NoSQL
+%pom_disable_module jetty-nosql
+%endif
+
 # Use Glassfish JSP
 %pom_remove_dep :org.eclipse.jdt.core jetty-jsp
 %pom_xpath_inject "pom:project/pom:dependencies" "
@@ -617,14 +625,6 @@ find . -name "*.class" -exec rm {} \;
       <version>any</version>
     </dependency>" jetty-jsp
 
-# Disable OSGi
-%pom_disable_module jetty-osgi
-%pom_xpath_remove "pom:profile[pom:id[text()='osgi']]"
-
-# Disable NoSQL
-%pom_disable_module jetty-nosql
-%endif
-
 cp %{SOURCE1} djetty
 
 # this needs jetty6 things, so just remove it
@@ -1051,6 +1051,7 @@ groupdel %username &>/dev/null || :
 %changelog
 * Tue Aug  7 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 8.1.5-2
 - Put runtime data in /run instead of /tmp
+- Fix patch for disabling OSGi
 
 * Wed Jul 18 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 8.1.5-1
 - Update to upstream version 8.1.5


More information about the scm-commits mailing list