[mybatis] fix build on f20

gil gil at fedoraproject.org
Wed Apr 24 13:31:52 UTC 2013


commit f89fe6808a71739f942604be0b660408264cba05
Author: gil <puntogil at libero.it>
Date:   Wed Apr 24 15:31:43 2013 +0200

    fix build on f20

 mybatis.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mybatis.spec b/mybatis.spec
index 48c37eb..71b1502 100644
--- a/mybatis.spec
+++ b/mybatis.spec
@@ -106,7 +106,11 @@ This package contains javadoc for %{name}.
 %setup -q -n %{name}-3-%{name}-%{version}
 
 %patch0 -p1
-
+%if !%{?fedora} > 18
+%pom_remove_parent
+%pom_xpath_inject "pom:project" "
+<groupId>org.mybatis</groupId>"
+%endif
 %pom_remove_plugin :maven-pdf-plugin
 %pom_remove_plugin :jarjar-maven-plugin
 


More information about the scm-commits mailing list