diff --git a/libgda.spec b/libgda.spec index f9dd576..bd4a0f0 100644 --- a/libgda.spec +++ b/libgda.spec @@ -3,7 +3,11 @@ %bcond_without mysql %bcond_without postgres %bcond_without mdb +%ifarch %{java_arches} %bcond_without java +%else +%bcond_with java +%endif %global apiver 5.0 %global libgda4_obsoletes_version 1:4.2.13-3 @@ -11,7 +15,7 @@ Name: libgda Epoch: 1 Version: 5.2.10 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Library for writing gnome database programs License: LGPLv2+ @@ -382,6 +386,9 @@ rm %{buildroot}/%{_sysconfdir}/%{name}-%{apiver}/sales_test.db %endif %changelog +* Mon Aug 01 2022 Gwyn Ciesla - 1:5.2.10-9 +- Only build Java package on supported platforms. + * Thu Jul 21 2022 Fedora Release Engineering - 1:5.2.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild