diff --git a/copying.txt b/copying.txt
new file mode 100644
index 0000000..2aa8ac1
--- /dev/null
+++ b/copying.txt
@@ -0,0 +1,30 @@
+Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun Microsystems.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ Neither the names of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/no-javadoc.patch b/no-javadoc.patch
deleted file mode 100644
index 9f530fe..0000000
--- a/no-javadoc.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: relaxngDatatype-1.0/build.xml
-===================================================================
---- relaxngDatatype-1.0.orig/build.xml
-+++ relaxngDatatype-1.0/build.xml
-@@ -32,7 +32,7 @@ Implementation-Vendor: relaxng.sourcefor
-
-
-
--
-+
-
-
-
diff --git a/relaxngDatatype-1.0.tar.bz2 b/relaxngDatatype-1.0.tar.bz2
deleted file mode 100644
index b35dd01..0000000
--- a/relaxngDatatype-1.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b624d8c52a7cc61c73e3ef18943f21233f9e2128a5bc2d4e4f272d08308a7f14
-size 25396
diff --git a/relaxngDatatype-2011.1.tar.gz b/relaxngDatatype-2011.1.tar.gz
new file mode 100644
index 0000000..bad039d
--- /dev/null
+++ b/relaxngDatatype-2011.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bca3509ed30aacbb6bf6cbc5108d1f19fec40c0db7f01e22c38a3213ffc98167
+size 10147
diff --git a/relaxngDatatype.changes b/relaxngDatatype.changes
index 18ddea7..d703b30 100644
--- a/relaxngDatatype.changes
+++ b/relaxngDatatype.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Thu Nov 30 14:39:03 UTC 2017 - fstrba@suse.com
+
+- Update to version 2011.1
+- Removed patch:
+ * no-javadoc.patch
+ + not needed
+
-------------------------------------------------------------------
Sun Sep 10 07:09:02 UTC 2017 - fstrba@suse.com
diff --git a/relaxngDatatype.spec b/relaxngDatatype.spec
index b514e39..20da2a8 100644
--- a/relaxngDatatype.spec
+++ b/relaxngDatatype.spec
@@ -17,14 +17,15 @@
Name: relaxngDatatype
-Version: 1.0
+Version: 2011.1
Release: 0
Summary: RELAX NG Datatype API
License: BSD-3-Clause
Group: Development/Languages/Java
Url: https://sourceforge.net/projects/relaxng
-Source0: relaxngDatatype-1.0.tar.bz2
-Patch0: no-javadoc.patch
+Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/archive/relaxngDatatype-%{version}.tar.gz
+# License is not available in the tarball, this copy fetched from the tarball on the old sourceforge.net site
+Source1: copying.txt
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: javapackages-tools
@@ -38,10 +39,8 @@ related to the construction of the RELAX NG language and its
implementations.
%prep
-%setup -q
-# wrong end of line necoding
-sed -i -e 's/.$//' copying.txt
-%patch0 -p1
+%setup -q -n relaxng-datatype-java-relaxngDatatype-%{version}
+cp -p %{SOURCE1} .
%build
ant \