Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2023-10-31 20:24:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and      /work/SRC/openSUSE:Factory/.protobuf.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "protobuf"

Tue Oct 31 20:24:36 2023 rev:76 rq:1121159 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes        2023-07-08 
22:46:33.506912467 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.17445/protobuf.changes     
2023-10-31 20:24:50.776059106 +0100
@@ -1,0 +2,9 @@
+Mon Oct 30 10:47:11 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Build with source and target levels 8
+  * fixes build with JDK21
+- Install the pom file with the new %%mvn_install_pom macro
+- Do not install the pom-only artifacts, since the %%mvn_install_pom
+  macro resolves the variables at the install time
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ protobuf.spec ++++++
--- /var/tmp/diff_new_pack.mTSq4G/_old  2023-10-31 20:24:51.636090695 +0100
+++ /var/tmp/diff_new_pack.mTSq4G/_new  2023-10-31 20:24:51.640090842 +0100
@@ -19,7 +19,7 @@
 %{!?make_build:%global make_build make %{?_smp_mflags}}
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define tarname protobuf
-%define extra_java_flags -source 7 -target 7
+%define extra_java_flags -source 8 -target 8
 # requires gmock, which is not yet in the distribution
 %bcond_with    check
 %bcond_without java
@@ -52,8 +52,8 @@
 BuildRequires:  libgmock-devel >= 1.7.0
 %endif
 %if %{with java}
-BuildRequires:  java-devel >= 1.6.0
-BuildRequires:  javapackages-local
+BuildRequires:  java-devel >= 1.8
+BuildRequires:  javapackages-local >= 6
 %endif
 
 %if 0%{?suse_version} >= 1550
@@ -197,13 +197,11 @@
 
 %if %{with java}
 pushd java
-install -D -m 0644 %{name}-java-%{version}.jar 
%{buildroot}%{_javadir}/%{name}-java.jar
+install -d -m 0755 %{buildroot}%{_javadir}
+install -p -m 0644 %{name}-java-%{version}.jar 
%{buildroot}%{_javadir}/%{name}-java.jar
 ln -s %{name}-java.jar %{buildroot}%{_javadir}/%{name}.jar
-install -D -m 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-parent.pom
-%add_maven_depmap %{name}-parent.pom
-install -D -m 0644 bom/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-bom.pom
-%add_maven_depmap %{name}-bom.pom
-install -D -m 0644 core/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-java.pom
+install -d -m 0755 %{buildroot}%{_mavenpomdir}
+%{mvn_install_pom} core/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-java.pom
 %add_maven_depmap %{name}-java.pom %{name}-java.jar
 popd
 %endif

Reply via email to