Fridrich Strba 2019-09-23 07:30:17 +00:00 committed by Git OBS Bridge
parent 0ea29c7a69
commit 29f2b13e00
2 changed files with 24 additions and 0 deletions

21
jzlib-javadoc-fixes.patch Normal file
View 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 {

View File

@ -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