[dnsjava] Update to 2.1.3.

Pavel Alexeev hubbitus at fedoraproject.org
Sat Aug 11 20:53:55 UTC 2012


commit 5a127a29f724d71710bcaba8971eaab07bb7db82
Author: Pavel Alexeev (aka Pahan-Hubbitus) <pahan at hubbitus.info>
Date:   Sun Aug 12 00:54:31 2012 +0400

    Update to 2.1.3.
    
    - Add Patch0: dnsjava-2.0.6-java1.5.target.patch to compile with 1.5 java target (bz#842582).

 .gitignore                         |    1 +
 dnsjava-2.0.6-java1.5.target.patch |   29 +++++++++++++++++++++++++++++
 dnsjava.spec                       |   11 +++++++++--
 sources                            |    2 +-
 4 files changed, 40 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2a3b0fc..dd36fbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 dnsjava-2.0.6.tar.gz
+/dnsjava-2.1.3.tar.gz
diff --git a/dnsjava-2.0.6-java1.5.target.patch b/dnsjava-2.0.6-java1.5.target.patch
new file mode 100644
index 0000000..8d824ab
--- /dev/null
+++ b/dnsjava-2.0.6-java1.5.target.patch
@@ -0,0 +1,29 @@
+diff -NaurEbBH dnsjava-2.0.6.orig/build.xml dnsjava-2.0.6/build.xml
+--- dnsjava-2.0.6.orig/build.xml	2008-01-25 08:19:23.000000000 +0300
++++ dnsjava-2.0.6/build.xml	2012-08-12 00:41:24.915394756 +0400
+@@ -17,14 +17,14 @@
+     </target>
+ 
+     <target name="compile" description="Compile everything">
+-	<javac destdir="${build_dir}" debug="true" target="1.4" source="1.4">
++	<javac destdir="${build_dir}" debug="true" target="1.5" source="1.4">
+ 	    <src path="${src_dir}"/>
+ 	    <exclude name="tests/**"/>
+ 	</javac>
+     </target>
+ 
+     <target name="spi" description="Compile the Name Service Provider code">
+-	<javac destdir="${build_dir}" debug="true" target="1.4" source="1.4">
++	<javac destdir="${build_dir}" debug="true" target="1.5" source="1.4">
+ 	    <src path="${src_dir}"/>
+ 	    <include name="org/xbill/DNS/spi/*.java"/>
+ 	</javac>
+@@ -86,7 +86,7 @@
+     </target>
+ 
+     <target name="compile_tests" depends="compile">
+-	<javac destdir="${tests_dir}" debug="true" target="1.4" source="1.4">
++	<javac destdir="${tests_dir}" debug="true" target="1.5" source="1.4">
+ 	    <src path="${tests_dir}"/>
+ 	</javac>
+     </target>
diff --git a/dnsjava.spec b/dnsjava.spec
index a5f24f6..325126f 100644
--- a/dnsjava.spec
+++ b/dnsjava.spec
@@ -3,8 +3,8 @@
 %define do_not_test 1
 
 Name:		dnsjava
-Version:		2.0.6
-Release:		10%{?dist}
+Version:		2.1.3
+Release:		1%{?dist}
 Summary:		Java DNS implementation
 License:		BSD and MIT
 URL:			http://www.dnsjava.org/
@@ -26,6 +26,7 @@ BuildArch:	noarch
 BuildRequires:	ant-junit
 
 
+
 %description
 dnsjava is an implementation of DNS in Java. It supports all of the common
 record types and the DNSSEC types. It can be used for queries, zone transfers,
@@ -58,6 +59,8 @@ Javadoc for %{name}.
 %setup -q
 rm -rf doc/
 
+%patch0 -p1 -b .java1.5
+
 iconv -f iso8859-1 -t utf8 Changelog > Changelog.tmp
 touch -r Changelog Changelog.tmp
 mv -f Changelog.tmp Changelog
@@ -99,6 +102,10 @@ ant -Dj2se.javadoc=%{_javadocdir}/java run_tests
 
 
 %changelog
+* Sun Aug 12 2012 Pavel Alexeev <Pahan at Hubbitus.info> - 2.1.3-1
+- Update to 2.1.3.
+- Add Patch0: dnsjava-2.0.6-java1.5.target.patch to compile with 1.5 java target (bz#842582).
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.6-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index a71dd98..fc4f69a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e72319525f4d79359064ad46d38c4bd  dnsjava-2.0.6.tar.gz
+81b2a5b256b8ca4dbe9ec4777eab71f4  dnsjava-2.1.3.tar.gz


More information about the scm-commits mailing list