packages: java-bcmail/java-bcmail.spec - fix building

glen glen at pld-linux.org
Sun Oct 23 17:49:33 CEST 2011


Author: glen                         Date: Sun Oct 23 15:49:33 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix building

---- Files affected:
packages/java-bcmail:
   java-bcmail.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/java-bcmail/java-bcmail.spec
diff -u packages/java-bcmail/java-bcmail.spec:1.1 packages/java-bcmail/java-bcmail.spec:1.2
--- packages/java-bcmail/java-bcmail.spec:1.1	Sun Oct 23 17:15:00 2011
+++ packages/java-bcmail/java-bcmail.spec	Sun Oct 23 17:49:28 2011
@@ -10,7 +10,7 @@
 Summary:	S/MIME and CMS libraries for Bouncy Castle
 Name:		java-%{srcname}
 Version:	1.46
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries/Java
 URL:		http://www.bouncycastle.org/
@@ -58,9 +58,10 @@
 find -type f -name "*.jar" | xargs -r rm -v
 
 %build
-CLASSPATH=$(build-classpath junit4 bcprov javamail)
+CLASSPATH=$(build-classpath junit bcprov mail)
 export CLASSPATH
 
+cd src
 %javac -g -target 1.5 -encoding UTF-8 $(find . -type f -name "*.java")
 jarfile="../bcmail-%{version}.jar"
 
@@ -70,7 +71,7 @@
 test -n "$mf" && %jar cvfm $jarfile $mf $files || %jar cvf $jarfile $files
 
 %if %{with tests}
-CLASSPATH=${PWD:-$(pwd)}:$(build-classpath junit javamail bcprov)
+CLASSPATH=${PWD:-$(pwd)}:$(build-classpath junit mail bcprov)
 export CLASSPATH
 for test in $(find -name AllTests.class); do
 	test=${test#./}; test=${test%.class}; test=$(echo $test | tr / .)
@@ -119,5 +120,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/10/23 15:49:28  glen
+- fix building
+
 Revision 1.1  2011/10/23 15:15:00  glen
 - new, based on fedora package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-bcmail/java-bcmail.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list