diff --git a/mybatis-3.5.10.tar.gz b/mybatis-3.5.10.tar.gz
deleted file mode 100644
index a86aa7f063a12792a4c3f36f96db6e30fa00e21d..0000000000000000000000000000000000000000
Binary files a/mybatis-3.5.10.tar.gz and /dev/null differ
diff --git a/mybatis-3.5.19.tar.gz b/mybatis-3.5.19.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..70f3b8e98389a99a71719b0f4f6aeec830cb37ee
Binary files /dev/null and b/mybatis-3.5.19.tar.gz differ
diff --git a/mybatis.spec b/mybatis.spec
index ec42533ccbd52ba31dc70cc09e4763eb7d5e0220..05ab261ed34b8bd25d7276252e71622cb0d1ae9c 100644
--- a/mybatis.spec
+++ b/mybatis.spec
@@ -1,7 +1,7 @@
%bcond_with test
Name: mybatis
-Version: 3.5.10
-Release: 2
+Version: 3.5.19
+Release: 1
Summary: SQL Mapping Framework for Java
License: Apache 2.0
URL: https://github.com/mybatis/mybatis-3
@@ -14,12 +14,12 @@ BuildRequires: mvn(ch.qos.logback:logback-classic)
BuildRequires: mvn(org.apache.derby:derby)
BuildRequires: mvn(net.bytebuddy:byte-buddy)
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations)
-BuildRequires: maven maven-local java-1.8.0-openjdk-devel
+BuildRequires: maven maven-local java-17-openjdk-devel
BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
BuildRequires: mvn(org.apache.maven.wagon:wagon-http)
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
-Requires: java-1.8.0-openjdk javapackages-tools
+Requires: java-17-openjdk javapackages-tools
BuildArch: noarch
%description
@@ -47,19 +47,6 @@ This package contains javadoc for %{name}.
%prep
%autosetup -n %{name}-3-%{name}-%{version} -p1
-%pom_remove_parent
-%pom_xpath_inject "pom:project" "org.mybatis"
-%pom_xpath_inject "pom:properties" "UTF-8"
-%pom_xpath_inject "pom:properties" "UTF-8"
-%pom_xpath_inject "pom:properties" "1.8"
-%pom_xpath_inject "pom:properties" "1.8"
-%pom_xpath_inject "pom:properties" "1.8"
-%pom_remove_plugin :maven-pdf-plugin
-%pom_remove_plugin :maven-surefire-plugin
-%pom_remove_plugin :maven-shade-plugin
-sed -i 's/\r//' LICENSE NOTICE
-rm src/test/java/org/apache/ibatis/cache/SoftCacheTest.java
-%mvn_file :%{name} %{name}
%build
%if "%{_arch}" == "riscv64"
@@ -78,6 +65,9 @@ export JAVA_TOOL_OPTIONS="-Xmx4096m"
%license LICENSE NOTICE
%changelog
+* Tue Aug 12 2025 Saisaai Zhao - 3.5.19-1
+- Update package to version 3.5.19
+
* Wed Sep 25 2024 Dingli Zhang - 3.5.10-2
- Update spec for riscv64 due to OOM error