diff --git a/jzlib.spec b/jzlib.spec
index 5bf70ab..69a4637 100644
--- a/jzlib.spec
+++ b/jzlib.spec
@@ -36,10 +36,10 @@ Requires: %{name} = %{version}-%{release}
%prep
%setup -q
-%patch0
+%patch 0
-%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.7
-%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.7
+%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.8
+%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.8
# Make into OSGi bundle
%pom_xpath_inject "pom:project" "bundle"
@@ -67,6 +67,10 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
%doc %{_datadir}/%{name}
%changelog
+* Mon Aug 05 2024 Mikolaj Izdebski - 1.1.3-29
+- Switch Java compiler source/target to 1.8
+- Resolves: RHEL-52695
+
* Thu Aug 01 2024 Troy Dawson - 1.1.3-29
- Bump release for Aug 2024 java mass rebuild