[java-sig-commits] [apache-commons-dbutils] Update to latest upstream version.

Alexander Kurtakov akurtakov at fedoraproject.org
Wed Dec 14 11:01:41 UTC 2011


commit a6959198ba4b76af63a2e6567c0726706ac0bcac
Author: Alexander Kurtakov < <akurtako at redhat.com>
Date:   Wed Dec 14 13:01:26 2011 +0200

    Update to latest upstream version.

 .gitignore                  |    1 +
 apache-commons-dbutils.spec |   19 +++++++------------
 sources                     |    2 +-
 3 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4dcbe00..f225702 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /commons-dbutils-1.3-src.tar.gz
+commons-dbutils-1.4-src.tar.gz
diff --git a/apache-commons-dbutils.spec b/apache-commons-dbutils.spec
index 26ab47e..7bdfacf 100644
--- a/apache-commons-dbutils.spec
+++ b/apache-commons-dbutils.spec
@@ -2,8 +2,8 @@
 %global short_name      commons-%{base_name}
 
 Name:             apache-%{short_name}
-Version:          1.3
-Release:          2%{?dist}
+Version:          1.4
+Release:          1%{?dist}
 Summary:          Apache Commons DbUtils Package
 Group:            Development/Libraries
 License:          ASL 2.0
@@ -16,8 +16,6 @@ BuildRequires:    jpackage-utils
 BuildRequires:    apache-commons-parent
 Requires:         java >= 1:1.6.0
 Requires:         jpackage-utils
-Requires(post):   jpackage-utils
-Requires(postun): jpackage-utils
 
 %description
 DbUtils is a small set of classes designed to make working with JDBC easier. 
@@ -39,7 +37,7 @@ This package contains the API documentation for %{name}.
 sed -i 's/\r//' *.txt
 
 %build
-mvn-rpmbuild install javadoc:aggregate
+mvn-rpmbuild -Dmaven.test.skip=true install javadoc:aggregate
 
 %install
 # jars
@@ -50,18 +48,12 @@ ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
 # poms
 install -d -m 0755 %{buildroot}%{_mavenpomdir}
 install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
-%add_to_maven_depmap commons-dbutils %{short_name} %{version} JPP %{short_name}
+%add_maven_depmap JPP-%{short_name}.pom %{short_name}.jar
 
 # javadoc
 install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
 
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
 %files
 %doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
 %{_javadir}/*
@@ -73,6 +65,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Wed Dec 14 2011 Alexander Kurtakov <akurtako at redhat.com> 1.4-1
+- Update to latest upstream version.
+
 * Thu May 12 2011 Chris Spike <spike at fedoraproject.org> 1.3-2
 - Removed defattr macros
 - Fixed groupId
diff --git a/sources b/sources
index d0e8d69..f98558e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3d579f5c0394ec1c9b191663c3fec0e0  commons-dbutils-1.3-src.tar.gz
+8a148ec373278f71aabed563c1311b0d  commons-dbutils-1.4-src.tar.gz


More information about the java-sig-commits mailing list