[jBCrypt] - Resolves rhbz#788720 - Patch from Omair Majid <omajid at redhat.com>: - Fix for building with OpenJ

Deepak Bhole dbhole at fedoraproject.org
Fri Feb 17 18:12:38 UTC 2012


commit ef02b536ffb61648e6d6ace5e30f42068b2c511d
Author: Deepak Bhole <dbhole at redhat.com>
Date:   Fri Feb 17 13:12:05 2012 -0500

    - Resolves rhbz#788720
    - Patch from Omair Majid <omajid at redhat.com>:
      - Fix for building with OpenJDK7 by explicitly specifying the encoding

 jBCrypt.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/jBCrypt.spec b/jBCrypt.spec
index 675d532..d3f0de2 100644
--- a/jBCrypt.spec
+++ b/jBCrypt.spec
@@ -1,6 +1,6 @@
 Name:           jBCrypt
 Version:        0.3
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Strong password hashing for Java
 
 Group:          Development/Libraries
@@ -30,7 +30,7 @@ javac BCrypt.java
 jar cvf jBCrypt.jar BCrypt.class
 
 # compile test cases too
-javac -cp %{_javadir}/junit.jar:jBCrypt.jar TestBCrypt.java
+javac -encoding UTF-8 -cp %{_javadir}/junit.jar:jBCrypt.jar TestBCrypt.java
 jar cvf jBCrypt-test.jar TestBCrypt.class
 
 
@@ -55,6 +55,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 17 2012 Deepak Bhole <dbhole at redhat.com> 0.3-6
+- Resolves rhbz#788720
+- Patch from Omair Majid <omajid at redhat.com>:
+  - Fix for building with OpenJDK7 by explicitly specifying the encoding
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list