[maven-shared-incremental] Remove alias for fake artifactId
by Michal Srb
commit be042c0a5976540fd17a70d9b44d13a44d653148
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Apr 24 16:17:02 2013 +0200
Remove alias for fake artifactId
maven-shared-incremental.spec | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/maven-shared-incremental.spec b/maven-shared-incremental.spec
index a353b25..f50d43d 100644
--- a/maven-shared-incremental.spec
+++ b/maven-shared-incremental.spec
@@ -1,6 +1,6 @@
Name: maven-shared-incremental
Version: 1.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Maven Incremental Build support utilities
License: ASL 2.0
Group: Development/Libraries
@@ -31,9 +31,6 @@ This package provides %{summary}.
%prep
%setup -q
-# temporarily provide fake artifactId
-%mvn_alias ":{*}" :@1-fake
-
%build
%mvn_build
@@ -48,6 +45,9 @@ This package provides %{summary}.
%doc LICENSE NOTICE
%changelog
+* Wed Apr 24 2013 Michal Srb <msrb(a)redhat.com> - 1.1-4
+- Remove alias for fake artifactId
+
* Wed Apr 24 2013 Michal Srb <msrb(a)redhat.com> - 1.1-3
- Build with original POM file
- Temporarily provide fake artifactId
11 years
[maven-compiler-plugin] Update to upstream version 3.1
by Michal Srb
commit ed53e537043e7487aa1b26697a72257e3feee4da
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Apr 24 15:56:37 2013 +0200
Update to upstream version 3.1
.gitignore | 1 +
maven-compiler-plugin.spec | 10 ++++++++--
sources | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index adebbfd..5e1d09e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ maven-compiler-plugin-2.0.2.tar.xz
/maven-compiler-plugin-2.4.tar.xz
/maven-compiler-plugin-2.5.1-source-release.zip
/maven-compiler-plugin-3.0-source-release.zip
+/maven-compiler-plugin-3.1-source-release.zip
diff --git a/maven-compiler-plugin.spec b/maven-compiler-plugin.spec
index f9d7f10..38d5241 100644
--- a/maven-compiler-plugin.spec
+++ b/maven-compiler-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-compiler-plugin
-Version: 3.0
-Release: 2%{?dist}
+Version: 3.1
+Release: 1%{?dist}
Summary: Maven Compiler Plugin
Group: Development/Libraries
@@ -36,6 +36,9 @@ API documentation for %{name}.
%prep
%setup -q
+# temporarily build against maven-shared-incremental with fake artifactId
+%pom_xpath_replace "pom:dependency[pom:artifactId[text()='maven-shared-incremental']]/pom:artifactId" "<artifactId>maven-shared-incremental-fake</artifactId>"
+
%build
%mvn_build -f
@@ -49,6 +52,9 @@ API documentation for %{name}.
%doc LICENSE NOTICE
%changelog
+* Wed Apr 24 2013 Michal Srb <msrb(a)redhat.com> - 3.1-1
+- Update to upstream version 3.1
+
* Tue Mar 05 2013 Michal Srb <msrb(a)redhat.com> - 3.0-2
- Build against proper plexus-compiler
diff --git a/sources b/sources
index f53fb28..d295146 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d7236609116c82bd6071a05f962ebd46 maven-compiler-plugin-3.0-source-release.zip
+91e56be52da7da936121276f9bf0f677 maven-compiler-plugin-3.1-source-release.zip
11 years
[maven-shared-incremental] Build with original POM file
by Michal Srb
commit 5be1f73310d3c881d175d5af8560f32cdaa47c5e
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Apr 24 16:02:05 2013 +0200
Build with original POM file
- Temporarily provide fake artifactId
0001-Temporarily-change-artifactId.patch | 25 -------------------------
maven-shared-incremental.spec | 22 +++++++---------------
2 files changed, 7 insertions(+), 40 deletions(-)
---
diff --git a/maven-shared-incremental.spec b/maven-shared-incremental.spec
index 8a04190..a353b25 100644
--- a/maven-shared-incremental.spec
+++ b/maven-shared-incremental.spec
@@ -1,14 +1,11 @@
Name: maven-shared-incremental
Version: 1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Maven Incremental Build support utilities
License: ASL 2.0
Group: Development/Libraries
URL: http://maven.apache.org/shared/maven-shared-incremental/
Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/...
-
-Patch0: 0001-Temporarily-change-artifactId.patch
-
BuildArch: noarch
BuildRequires: maven-local
@@ -34,7 +31,8 @@ This package provides %{summary}.
%prep
%setup -q
-%patch0 -p1
+# temporarily provide fake artifactId
+%mvn_alias ":{*}" :@1-fake
%build
%mvn_build
@@ -42,17 +40,7 @@ This package provides %{summary}.
%install
%mvn_install
-# Preserve older JAR and POM for a while. This is only temporary solution needed for updating
-# maven-compiler-plugin to latest version
-install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/maven-shared-incremental
-cp /usr/share/java/maven-shared-incremental/maven-shared-incremental.jar %{buildroot}/usr/share/java/maven-shared-incremental/maven-shared-incremental.jar
-cp /usr/share/maven-poms/JPP.maven-shared-incremental-maven-shared-incremental.pom %{buildroot}/usr/share/maven-poms/JPP.maven-shared-incremental-maven-shared-incremental.pom
-cp /usr/share/maven-fragments/maven-shared-incremental.xml %{buildroot}/usr/share/maven-fragments/maven-shared-incremental-orig.xml
-
%files -f .mfiles
-%{_javadir}/maven-shared-incremental/*
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/*
%doc LICENSE NOTICE
%dir %{_javadir}/%{name}
@@ -60,6 +48,10 @@ cp /usr/share/maven-fragments/maven-shared-incremental.xml %{buildroot}/usr/shar
%doc LICENSE NOTICE
%changelog
+* Wed Apr 24 2013 Michal Srb <msrb(a)redhat.com> - 1.1-3
+- Build with original POM file
+- Temporarily provide fake artifactId
+
* Wed Apr 24 2013 Michal Srb <msrb(a)redhat.com> - 1.1-2
- Build 1.1 with fake artifactId
11 years
[maven-shared-incremental] Build 1.1 with fake artifactId
by Michal Srb
commit fcf245e8abd8651134633b9f6426f7546846b6b8
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Apr 24 15:29:33 2013 +0200
Build 1.1 with fake artifactId
0001-Temporarily-change-artifactId.patch | 25 +++++++++++++++++++++++++
maven-shared-incremental.spec | 20 +++++++++++++++++++-
2 files changed, 44 insertions(+), 1 deletions(-)
---
diff --git a/0001-Temporarily-change-artifactId.patch b/0001-Temporarily-change-artifactId.patch
new file mode 100644
index 0000000..16d7519
--- /dev/null
+++ b/0001-Temporarily-change-artifactId.patch
@@ -0,0 +1,25 @@
+From 5ddb3244f7abe52039c9ca64e71d820f1db595ae Mon Sep 17 00:00:00 2001
+From: Michal Srb <msrb(a)redhat.com>
+Date: Wed, 24 Apr 2013 15:11:12 +0200
+Subject: [PATCH] Temporarily change artifactId
+
+---
+ pom.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pom.xml b/pom.xml
+index f832f26..faaf394 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -26,7 +26,7 @@
+ <relativePath>../maven-shared-components/pom.xml</relativePath>
+ </parent>
+
+- <artifactId>maven-shared-incremental</artifactId>
++ <artifactId>maven-shared-incremental-fake</artifactId>
+ <version>1.1</version>
+ <name>Maven Incremental Build support utilities</name>
+ <description>
+--
+1.8.1.4
+
diff --git a/maven-shared-incremental.spec b/maven-shared-incremental.spec
index 8707df7..8a04190 100644
--- a/maven-shared-incremental.spec
+++ b/maven-shared-incremental.spec
@@ -1,11 +1,14 @@
Name: maven-shared-incremental
Version: 1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Maven Incremental Build support utilities
License: ASL 2.0
Group: Development/Libraries
URL: http://maven.apache.org/shared/maven-shared-incremental/
Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/...
+
+Patch0: 0001-Temporarily-change-artifactId.patch
+
BuildArch: noarch
BuildRequires: maven-local
@@ -31,13 +34,25 @@ This package provides %{summary}.
%prep
%setup -q
+%patch0 -p1
+
%build
%mvn_build
%install
%mvn_install
+# Preserve older JAR and POM for a while. This is only temporary solution needed for updating
+# maven-compiler-plugin to latest version
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/maven-shared-incremental
+cp /usr/share/java/maven-shared-incremental/maven-shared-incremental.jar %{buildroot}/usr/share/java/maven-shared-incremental/maven-shared-incremental.jar
+cp /usr/share/maven-poms/JPP.maven-shared-incremental-maven-shared-incremental.pom %{buildroot}/usr/share/maven-poms/JPP.maven-shared-incremental-maven-shared-incremental.pom
+cp /usr/share/maven-fragments/maven-shared-incremental.xml %{buildroot}/usr/share/maven-fragments/maven-shared-incremental-orig.xml
+
%files -f .mfiles
+%{_javadir}/maven-shared-incremental/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
%doc LICENSE NOTICE
%dir %{_javadir}/%{name}
@@ -45,6 +60,9 @@ This package provides %{summary}.
%doc LICENSE NOTICE
%changelog
+* Wed Apr 24 2013 Michal Srb <msrb(a)redhat.com> - 1.1-2
+- Build 1.1 with fake artifactId
+
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.1-1
- Update to upstream version 1.1
11 years
[mybatis/f19] (4 commits) ...fix build on f20
by gil
Summary of changes:
fc2391d... Initial import (#815566). (*)
2f75bf2... fix build on f20 (*)
f89fe68... fix build on f20 (*)
623798d... fix build on f20 (*)
(*) This commit already existed in another branch; no separate mail sent
11 years
[mybatis] fix build on f20
by gil
commit 623798df57a2202fae89451d5ab7ff2c73f330a7
Author: gil <puntogil(a)libero.it>
Date: Wed Apr 24 15:44:05 2013 +0200
fix build on f20
mybatis.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mybatis.spec b/mybatis.spec
index 71b1502..cbc91ba 100644
--- a/mybatis.spec
+++ b/mybatis.spec
@@ -106,7 +106,7 @@ This package contains javadoc for %{name}.
%setup -q -n %{name}-3-%{name}-%{version}
%patch0 -p1
-%if !%{?fedora} > 18
+%if %{?fedora} > 18
%pom_remove_parent
%pom_xpath_inject "pom:project" "
<groupId>org.mybatis</groupId>"
11 years
[mybatis] fix build on f20
by gil
commit f89fe6808a71739f942604be0b660408264cba05
Author: gil <puntogil(a)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
11 years
[mybatis] fix build on f20
by gil
commit 2f75bf2ca1ab921bc37c4ef4f815b23635108692
Author: gil <puntogil(a)libero.it>
Date: Wed Apr 24 15:18:08 2013 +0200
fix build on f20
mybatis.spec | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/mybatis.spec b/mybatis.spec
index 49e8e81..48c37eb 100644
--- a/mybatis.spec
+++ b/mybatis.spec
@@ -15,7 +15,7 @@ Patch0: %{name}-%{version}-commons-ognl.patch
BuildRequires: java-devel
BuildRequires: jpackage-utils
-BuildRequires: mybatis-parent
+
BuildRequires: apache-commons-logging
BuildRequires: apache-commons-ognl
@@ -24,23 +24,29 @@ BuildRequires: javassist
BuildRequires: log4j
BuildRequires: slf4j
-BuildRequires: animal-sniffer
+
BuildRequires: maven-local
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
BuildRequires: maven-plugin-cobertura
-BuildRequires: maven-plugin-bundle
BuildRequires: maven-resources-plugin
BuildRequires: maven-surefire-plugin
BuildRequires: maven-surefire-provider-junit4
-BuildRequires: mojo-signatures
%if %{?fedora} > 18
BuildRequires: geronimo-parent-poms
%endif
+%if !%{?fedora} > 18
+# animal-sniffer is currently broken. it uses asm4, but asm3 is loaded
+BuildRequires: animal-sniffer
+BuildRequires: maven-plugin-bundle
+BuildRequires: mojo-signatures
+BuildRequires: mybatis-parent
+%endif
+
# test deps
BuildRequires: junit
BuildRequires: mvn(commons-dbcp:commons-dbcp)
11 years
[mybatis] Initial import (#815566).
by gil
commit fc2391d6a19221fe4f5b7af9c9b0014aa7f0e80e
Author: gil <puntogil(a)libero.it>
Date: Wed Apr 24 14:38:44 2013 +0200
Initial import (#815566).
.gitignore | 1 +
mybatis-3.2.2-commons-ognl.patch | 74 +++++++++++++++++
mybatis.spec | 165 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 241 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b7cdda0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mybatis-3.2.2.tar.gz
diff --git a/mybatis-3.2.2-commons-ognl.patch b/mybatis-3.2.2-commons-ognl.patch
new file mode 100644
index 0000000..61dea64
--- /dev/null
+++ b/mybatis-3.2.2-commons-ognl.patch
@@ -0,0 +1,74 @@
+diff -Nru mybatis-3.2.2/pom.xml mybatis-3.2.2-gil/pom.xml
+--- mybatis-3.2.2/pom.xml 2013-04-02 12:54:43.000000000 +0200
++++ mybatis-3.2.2-gil/pom.xml 2013-04-20 07:56:47.235021426 +0200
+@@ -132,9 +132,9 @@
+
+ <dependencies>
+ <dependency>
+- <groupId>ognl</groupId>
+- <artifactId>ognl</artifactId>
+- <version>2.6.9</version>
++ <groupId>org.apache.commons</groupId>
++ <artifactId>commons-ognl</artifactId>
++ <version>4.0-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
+ <optional>true</optional>
+ </dependency>
+diff -Nru mybatis-3.2.2/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java mybatis-3.2.2-gil/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java
+--- mybatis-3.2.2/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java 2013-04-02 12:54:43.000000000 +0200
++++ mybatis-3.2.2-gil/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java 2013-04-20 08:02:19.774699834 +0200
+@@ -18,9 +18,9 @@
+ import java.util.HashMap;
+ import java.util.Map;
+
+-import ognl.OgnlException;
+-import ognl.OgnlRuntime;
+-import ognl.PropertyAccessor;
++import org.apache.commons.ognl.OgnlException;
++import org.apache.commons.ognl.OgnlRuntime;
++import org.apache.commons.ognl.MapPropertyAccessor;
+
+ import org.apache.ibatis.reflection.MetaObject;
+ import org.apache.ibatis.session.Configuration;
+@@ -98,7 +98,7 @@
+ }
+ }
+
+- static class ContextAccessor implements PropertyAccessor {
++ static class ContextAccessor extends MapPropertyAccessor {
+
+ public Object getProperty(Map context, Object target, Object name)
+ throws OgnlException {
+diff -Nru mybatis-3.2.2/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java mybatis-3.2.2-gil/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java
+--- mybatis-3.2.2/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java 2013-04-02 12:54:43.000000000 +0200
++++ mybatis-3.2.2-gil/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java 2013-04-20 08:09:57.799421995 +0200
+@@ -20,13 +20,13 @@
+ import java.util.Map;
+ import java.util.concurrent.ConcurrentHashMap;
+
+-import ognl.ExpressionSyntaxException;
+-import ognl.Node;
+-import ognl.Ognl;
+-import ognl.OgnlException;
+-import ognl.OgnlParser;
+-import ognl.ParseException;
+-import ognl.TokenMgrError;
++import org.apache.commons.ognl.ExpressionSyntaxException;
++import org.apache.commons.ognl.Node;
++import org.apache.commons.ognl.Ognl;
++import org.apache.commons.ognl.OgnlException;
++import org.apache.commons.ognl.OgnlParser;
++import org.apache.commons.ognl.ParseException;
++import org.apache.commons.ognl.TokenMgrError;
+
+ import org.apache.ibatis.builder.BuilderException;
+
+@@ -38,7 +38,7 @@
+ */
+ public class OgnlCache {
+
+- private static final Map<String, ognl.Node> expressionCache = new ConcurrentHashMap<String, ognl.Node>();
++ private static final Map<String, org.apache.commons.ognl.Node> expressionCache = new ConcurrentHashMap<String, org.apache.commons.ognl.Node>();
+
+ public static Object getValue(String expression, Object root) {
+ try {
diff --git a/mybatis.spec b/mybatis.spec
new file mode 100644
index 0000000..49e8e81
--- /dev/null
+++ b/mybatis.spec
@@ -0,0 +1,165 @@
+Name: mybatis
+Version: 3.2.2
+Release: 2%{?dist}
+Summary: SQL Mapping Framework for Java
+Group: Development/Libraries
+License: ASL 2.0
+# http://code.google.com/p/mybatis/
+URL: http://www.mybatis.org/
+# git clone git://github.com/mybatis/mybatis-3.git mybatis-3.2.2
+# (cd mybatis-3.2.2/ && git archive --format=tar --prefix=mybatis-3.2.2/ mybatis-3.2.2 | xz > ../mybatis-3.2.2-src-git.tar.xz)
+Source0: https://github.com/mybatis/mybatis-3/archive/%{name}-%{version}.tar.gz
+# thanks to jhernand
+# replace ognl ognl with apache-commons-ognl
+Patch0: %{name}-%{version}-commons-ognl.patch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: mybatis-parent
+
+BuildRequires: apache-commons-logging
+BuildRequires: apache-commons-ognl
+BuildRequires: cglib
+BuildRequires: javassist
+BuildRequires: log4j
+BuildRequires: slf4j
+
+BuildRequires: animal-sniffer
+BuildRequires: maven-local
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-plugin-cobertura
+BuildRequires: maven-plugin-bundle
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-surefire-plugin
+BuildRequires: maven-surefire-provider-junit4
+BuildRequires: mojo-signatures
+
+%if %{?fedora} > 18
+BuildRequires: geronimo-parent-poms
+%endif
+
+# test deps
+BuildRequires: junit
+BuildRequires: mvn(commons-dbcp:commons-dbcp)
+BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec)
+BuildRequires: mvn(org.apache.derby:derby)
+# unavailable
+%if 0
+BuildRequires: mvn(org.hsqldb:hsqldb) >= 2.2.9
+%else
+BuildRequires: mvn(hsqldb:hsqldb)
+%endif
+BuildRequires: mvn(org.mockito:mockito-core)
+BuildRequires: mvn(postgresql:postgresql)
+BuildRequires: mvn(org.apache.velocity:velocity) >= 1.7
+
+
+Requires: apache-commons-logging
+Requires: apache-commons-ognl
+Requires: cglib
+Requires: javassist
+Requires: log4j
+Requires: slf4j
+
+Requires: java
+Requires: jpackage-utils
+BuildArch: noarch
+
+%description
+The MyBatis data mapper framework makes it easier
+to use a relational database with object-oriented
+applications. MyBatis couples objects with stored
+procedures or SQL statements using a XML descriptor
+or annotations. Simplicity is the biggest advantage
+of the MyBatis data mapper over object relational
+mapping tools.
+
+To use the MyBatis data mapper, you rely on your
+own objects, XML, and SQL. There is little to
+learn that you don't already know. With the
+MyBatis data mapper, you have the full power of
+both SQL and stored procedures at your fingertips.
+
+The MyBatis project is developed and maintained by
+a team that includes the original creators of the
+"iBATIS" data mapper. The Apache project was retired
+and continued here.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n %{name}-3-%{name}-%{version}
+
+%patch0 -p1
+
+%pom_remove_plugin :maven-pdf-plugin
+%pom_remove_plugin :jarjar-maven-plugin
+
+%pom_remove_dep javax.transaction:transaction-api
+%pom_add_dep org.apache.geronimo.specs:geronimo-jta_1.1_spec::test
+
+# unavalable test deps hsqldb >= 2.2.9
+# adapt for hsqldb 1.x
+%pom_remove_dep org.hsqldb:hsqldb
+%pom_add_dep hsqldb:hsqldb::test
+#rm -r src/test/java/org/apache/ibatis/jdbc/PooledDataSourceTest.java
+sed -i 's/JDBCConnection/jdbcConnection/' src/test/java/org/apache/ibatis/jdbc/PooledDataSourceTest.java
+sed -i 's/(JDBCConnection)/(jdbcConnection)/' src/test/java/org/apache/ibatis/jdbc/PooledDataSourceTest.java
+# These tests fails for various reasons
+rm -r src/test/java/org/apache/ibatis/submitted/complex_type/ComplexTypeTest.java \
+ src/test/java/org/apache/ibatis/submitted/awful_table/AwfulTableTest.java \
+ src/test/java/org/apache/ibatis/submitted/sptests/SPTest.java \
+ src/test/java/org/apache/ibatis/submitted/dynsql/DynSqlTest.java \
+ src/test/java/org/apache/ibatis/submitted/selectkey/SelectKeyTest.java \
+ src/test/java/org/apache/ibatis/submitted/blobtest/BlobTest.java \
+ src/test/java/org/apache/ibatis/submitted/multipleiterates/MultipleIteratesTest.java \
+ src/test/java/org/apache/ibatis/submitted/foreach_map/ForEachMapTest.java \
+ src/test/java/org/apache/ibatis/submitted/batch_keys/BatchKeysTest.java
+
+sed -i 's/\r//' LICENSE NOTICE
+
+%build
+
+mvn-rpmbuild -Dproject.build.sourceEncoding=UTF-8 package javadoc:aggregate
+
+%install
+
+mkdir -p %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+mkdir -p %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap
+
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+%doc LICENSE NOTICE
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE NOTICE
+
+%changelog
+* Sun Apr 21 2013 gil cattaneo <puntogil(a)libero.it> 3.2.2-2
+- rebuilt with mybatis-parent
+- run test suite with hsqldb 1.x
+
+* Sat Apr 20 2013 gil cattaneo <puntogil(a)libero.it> 3.2.2-1
+- update to 3.2.2
+
+* Fri Apr 20 2012 gil cattaneo <puntogil(a)libero.it> 3.1.1-1
+- initial rpm
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..bbdf2fd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8d710b5720ecec8dd39ff04e8ff5c216 mybatis-3.2.2.tar.gz
11 years