Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mysql-connector-java for
openSUSE:Factory checked in at 2023-09-26 22:02:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old)
and /work/SRC/openSUSE:Factory/.mysql-connector-java.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-connector-java"
Tue Sep 26 22:02:18 2023 rev:47 rq:1113584 version:8.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes
2023-09-25 20:52:34.205156981 +0200
+++
/work/SRC/openSUSE:Factory/.mysql-connector-java.new.1770/mysql-connector-java.changes
2023-09-26 22:04:01.425503599 +0200
@@ -1,0 +2,8 @@
+Tue Sep 26 05:14:00 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Added patch:
+ * reproducible-build.patch
+ + keep PropertyDefinitions sorted to achieve reproducible order
+ of getters/setters in generated class files
+
+-------------------------------------------------------------------
New:
----
reproducible-build.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mysql-connector-java.spec ++++++
--- /var/tmp/diff_new_pack.bzhSYZ/_old 2023-09-26 22:04:02.677548811 +0200
+++ /var/tmp/diff_new_pack.bzhSYZ/_new 2023-09-26 22:04:02.677548811 +0200
@@ -37,6 +37,7 @@
# The patch doesn't remove the file AuthenticationOciClient.java
# therefore it's removed during prep phase
Patch1: %{name}-remove-oci-support.patch
+Patch2: reproducible-build.patch
BuildRequires: ant
BuildRequires: ant-contrib
BuildRequires: apache-commons-logging
@@ -80,6 +81,7 @@
%setup -q -n mysql-connector-j-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150200
# ship protobuf generated files compatible with protobuf 3.9.2
++++++ reproducible-build.patch ++++++
---
mysql-connector-j-8.1.0/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
2023-09-26 06:49:03.580772166 +0200
+++
mysql-connector-j-8.1.0/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
2023-09-26 06:53:10.775563886 +0200
@@ -30,7 +30,7 @@
package com.mysql.cj.conf;
import java.util.Collections;
-import java.util.HashMap;
+import java.util.TreeMap;
import java.util.Map;
import com.mysql.cj.Messages;
@@ -895,7 +895,7 @@
//
};
- HashMap<PropertyKey, PropertyDefinition<?>>
propertyKeyToPropertyDefinitionMap = new HashMap<>();
+ TreeMap<PropertyKey, PropertyDefinition<?>>
propertyKeyToPropertyDefinitionMap = new TreeMap<>();
for (PropertyDefinition<?> pdef : pdefs) {
propertyKeyToPropertyDefinitionMap.put(pdef.getPropertyKey(),
pdef);
}