public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Only pull in java-devel on java arches
@ 2026-06-25  5:50 Till Hofmann
  0 siblings, 0 replies; only message in thread
From: Till Hofmann @ 2026-06-25  5:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pcl
            Branch : f44
            Commit : 1da79d2c3977f3fa1f4f77b4d3df4badee65a1eb
            Author : Till Hofmann <thofmann@fedoraproject.org>
            Date   : 2022-07-17T12:36:45+02:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pcl/c/1da79d2c3977f3fa1f4f77b4d3df4badee65a1eb?branch=f44

            Log:
            Only pull in java-devel on java arches

Some arches do not have java support, do not pull in java on those.

Fixes bz#2104087.

---
diff --git a/pcl.spec b/pcl.spec
index 5bb6965..d3b3ae1 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -35,8 +35,12 @@ BuildRequires:  doxygen, graphviz, /usr/bin/sphinx-build
 
 # mandatory
 BuildRequires:  eigen3-static, flann-devel, vtk-devel, gl2ps-devel, hdf5-devel, libxml2-devel, netcdf-cxx-devel, jsoncpp-devel, metslib-static, libXext-devel
+
 # To fix Imported target "VTK::Java" includes non-existent path "/usr/lib/jvm/java/include" in its INTERFACE_INCLUDE_DIRECTORIES
+%ifarch %{java_arches}
 BuildRequires:  java-devel
+%endif
+
 # optional
 BuildRequires:  qt5-qtbase-devel, qhull-devel, libusbx-devel, gtest-devel, qt5-qtwebkit-devel
 %ifarch %{ix86} x86_64

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25  5:50 [rpms/pcl] f44: Only pull in java-devel on java arches Till Hofmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox