Fixed RHEL-50217

This commit is contained in:
Martin Stransky 2024-08-02 11:51:17 +02:00
parent 7ec84ce268
commit d9024df778

View File

@ -1,10 +1,17 @@
%global _hardened_build 1 %global _hardened_build 1
# Disable libwebp-java subpackage for RHEL builds
%bcond enable_java %[!0%{?rhel}]
%if %{with enable_java}
%ifarch %{java_arches} %ifarch %{java_arches}
%bcond_without java %bcond_without java
%else %else
%bcond_with java %bcond_with java
%endif %endif
%else
%bcond_with java
%endif
%if 0%{?rhel} %if 0%{?rhel}
%bcond_with mingw %bcond_with mingw
@ -14,7 +21,7 @@
Name: libwebp Name: libwebp
Version: 1.3.2 Version: 1.3.2
Release: 5%{?dist} Release: 6%{?dist}
URL: http://webmproject.org/ URL: http://webmproject.org/
Summary: Library and tools for the WebP graphics format Summary: Library and tools for the WebP graphics format
# Additional IPR is licensed as well. See PATENTS file for details # 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 %changelog
* Thu Aug 1 2024 Martin Stransky <stransky@redhat.com> - 1.3.2-6
- Disable libwebp-java on RHEL
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.2-5 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.2-5
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild