]> sourceware.org Git - systemtap.git/commitdiff
systemtap.spec: fedora i686 rawhide (!) ftbfs fix try 2
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 2 Aug 2022 21:02:22 +0000 (17:02 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 2 Aug 2022 21:02:22 +0000 (17:02 -0400)
systemtap.spec

index 833742b000b90262e77dc4ee86d54988d60cb2ff..c2d78c253e8ea98db225f3ca614928d530f7b15a 100644 (file)
 %{!?with_bpf: %global with_bpf 0%{?fedora} >= 22 || 0%{?rhel} >= 8}
 %{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
 %{!?with_emacsvim: %global with_emacsvim 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
+%ifarch %{ix86}
+%{!?with_java: %global with_java 0}
+%else
 %{!?with_java: %global with_java 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
+%endif
 %{!?with_debuginfod: %global with_debuginfod 0%{?fedora} >= 25 || 0%{?rhel} >= 7}
 %{!?with_virthost: %global with_virthost 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
 %{!?with_virtguest: %global with_virtguest 1}
@@ -206,12 +210,8 @@ BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
 BuildRequires: emacs
 %endif
 %if %{with_java}
-%if 0%{?fedora} >= 36
-BuildRequires: java-latest-openjdk-devel
-%else
 BuildRequires: java-devel
 %endif
-%endif
 %if %{with_virthost}
 # BuildRequires: libvirt-devel >= 1.0.2
 BuildRequires: pkgconfig(libvirt)
@@ -488,11 +488,7 @@ Conflicts: systemtap-runtime = %{version}-%{release}.x86_64
 %endif
 Requires: byteman > 2.0
 Requires: iproute
-%if 0%{?fedora} >= 36
-BuildRequires: java-latest-openjdk-devel
-%else
 Requires: java-devel
-%endif
 
 %description runtime-java
 This package includes support files needed to run systemtap scripts
This page took 0.027963 seconds and 5 git commands to generate.