Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jcifs for openSUSE:Factory checked 
in at 2024-07-17 15:15:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jcifs (Old)
 and      /work/SRC/openSUSE:Factory/.jcifs.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jcifs"

Wed Jul 17 15:15:04 2024 rev:18 rq:1188054 version:1.3.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/jcifs/jcifs.changes      2024-02-21 
17:59:04.877085136 +0100
+++ /work/SRC/openSUSE:Factory/.jcifs.new.17339/jcifs.changes   2024-07-17 
15:15:53.307687756 +0200
@@ -1,0 +2,7 @@
+Tue Jul 16 19:16:57 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Put the examples class files into a writable directory and specify
+  the utf-8 encoding
+  * fixes build with some versions of JDK
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jcifs.spec ++++++
--- /var/tmp/diff_new_pack.5EoBpI/_old  2024-07-17 15:15:53.775704893 +0200
+++ /var/tmp/diff_new_pack.5EoBpI/_new  2024-07-17 15:15:53.775704893 +0200
@@ -102,7 +102,7 @@
 export OPT_JAR_LIST=:
 %{ant} -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
 export CLASSPATH=$(build-classpath 
glassfish-servlet-api):$(pwd)/%{name}-%{version}.jar
-(cd examples && %javac -target 1.8 -source 1.8 *.java)
+(cd examples && mkdir -p build && javac -d build -encoding utf-8 -source 1.8 
-target 1.8 *.java)
 
 %install
 # jar
@@ -121,7 +121,8 @@
 ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
 # data
 mkdir -p %{buildroot}%{_datadir}/%{name}/examples
-cp -pr examples/*{.class,.java} %{buildroot}%{_datadir}/%{name}/examples
+cp -pr examples/*.java %{buildroot}%{_datadir}/%{name}/examples
+cp -pr examples/build/*.class %{buildroot}%{_datadir}/%{name}/examples
 %fdupes -s %{buildroot}%{_datadir}/%{name}/examples
 
 %files -f .mfiles

Reply via email to