From d9024df7783ab83a76fc93db5a917718077defe7 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Fri, 2 Aug 2024 11:51:17 +0200 Subject: [PATCH] Fixed RHEL-50217 --- libwebp.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index e1378a9..4446f34 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -1,10 +1,17 @@ %global _hardened_build 1 +# Disable libwebp-java subpackage for RHEL builds +%bcond enable_java %[!0%{?rhel}] + +%if %{with enable_java} %ifarch %{java_arches} %bcond_without java %else %bcond_with java %endif +%else +%bcond_with java +%endif %if 0%{?rhel} %bcond_with mingw @@ -14,7 +21,7 @@ Name: libwebp Version: 1.3.2 -Release: 5%{?dist} +Release: 6%{?dist} URL: http://webmproject.org/ Summary: Library and tools for the WebP graphics format # Additional IPR is licensed as well. See PATENTS file for details @@ -287,6 +294,9 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %changelog +* Thu Aug 1 2024 Martin Stransky - 1.3.2-6 +- Disable libwebp-java on RHEL + * Mon Jun 24 2024 Troy Dawson - 1.3.2-5 - Bump release for June 2024 mass rebuild