public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kig] epel10: Fix EPEL build
@ 2026-08-04 19:45 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-04 19:45 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kig
            Branch : epel10
            Commit : 493714806a5e67b44870ff1c9eb609e75ae3b953
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-08-05T21:37:03-04:00
            Stats  : +3/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kig/c/493714806a5e67b44870ff1c9eb609e75ae3b953?branch=epel10

            Log:
            Fix EPEL build

RHEL 9 boost and later follow the naming pattern used in Fedora.

---
diff --git a/kig.spec b/kig.spec
index 6c367d1..0b787f2 100644
--- a/kig.spec
+++ b/kig.spec
@@ -67,10 +67,10 @@ Conflicts: kdeedu-math < 4.7.0-10
   -DPYTHON_INCLUDE_DIR=%{_python3_include} \
   -DPYTHON_LIBRARY=%{_python3_lib} \
   -DBoostPython_INCLUDE_DIRS="%{_python3_include};%{_includedir}/boost" \
-%if 0%{?rhel}
-  -DBoostPython_LIBRARIES="%{_python3_lib};%{_libdir}/libboost_python3.so"
-%else
+%if 0%{?fedora} || 0%{?rhel} >= 9
   -DBoostPython_LIBRARIES="%{_python3_lib};%{_libdir}/libboost_python%{python3_version_nodots}.so"
+%else
+  -DBoostPython_LIBRARIES="%{_python3_lib};%{_libdir}/libboost_python3.so"
 %endif
 
 %cmake_build

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

only message in thread, other threads:[~2026-08-04 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-04 19:45 [rpms/kig] epel10: Fix EPEL build Yaakov Selkowitz

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