This commit is contained in:
parent
0ea29c7a69
commit
29f2b13e00
21
jzlib-javadoc-fixes.patch
Normal file
21
jzlib-javadoc-fixes.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- src/main/java/com/jcraft/jzlib/ZStream.java.orig 2014-05-09 12:35:05.241400959 +0100
|
||||
+++ src/main/java/com/jcraft/jzlib/ZStream.java 2014-05-09 12:35:35.093886286 +0100
|
||||
@@ -371,6 +371,7 @@
|
||||
/**
|
||||
* Those methods are expected to be override by Inflater and Deflater.
|
||||
* In the future, they will become abstract methods.
|
||||
+ * @return an error code
|
||||
*/
|
||||
public int end(){ return Z_OK; }
|
||||
public boolean finished(){ return false; }
|
||||
--- src/main/java/com/jcraft/jzlib/GZIPHeader.java.orig 2014-05-09 12:37:35.358812069 +0100
|
||||
+++ src/main/java/com/jcraft/jzlib/GZIPHeader.java 2014-05-09 12:37:40.267727366 +0100
|
||||
@@ -37,7 +37,7 @@
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
/**
|
||||
- * @see "http://www.ietf.org/rfc/rfc1952.txt"
|
||||
+ * See "http://www.ietf.org/rfc/rfc1952.txt"
|
||||
*/
|
||||
public class GZIPHeader implements Cloneable {
|
||||
|
@ -25,6 +25,8 @@ Group: Development/Libraries/Java
|
||||
URL: http://www.jcraft.com/jzlib/
|
||||
Source0: https://github.com/ymnk/jzlib/archive/%{version}.tar.gz
|
||||
Source1: %{name}_build.xml
|
||||
# This patch is sent upstream: https://github.com/ymnk/jzlib/pull/15
|
||||
Patch0: jzlib-javadoc-fixes.patch
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel
|
||||
@ -55,6 +57,7 @@ Group: Documentation/HTML
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
cp %{SOURCE1} build.xml
|
||||
|
||||
# bnc#500524
|
||||
|
Loading…
Reference in New Issue
Block a user