public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kdevelop-python] f43: Improve compatibility with new CMake macro
@ 2026-07-04 11:13 Igor Raits
  0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-07-04 11:13 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kdevelop-python
            Branch : f43
            Commit : f8ab755682a54157470430a823d375c7bfafcd63
            Author : Igor Raits <ignatenkobrain@fedoraproject.org>
            Date   : 2020-07-18T17:56:29+02:00
            Stats  : +4/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kdevelop-python/c/f8ab755682a54157470430a823d375c7bfafcd63?branch=f43

            Log:
            Improve compatibility with new CMake macro

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>

---
diff --git a/kdevelop-python.spec b/kdevelop-python.spec
index 717551e..3ee0355 100644
--- a/kdevelop-python.spec
+++ b/kdevelop-python.spec
@@ -1,3 +1,4 @@
+%undefine __cmake_in_source_build
 # This package depends on automagic byte compilation
 # https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
 %global _python_bytecompile_extra 1
@@ -69,16 +70,12 @@ Python 3 language support for the KDevelop Integrated Development Environment.
 %patch2 -p1
 
 %build
-mkdir %{_target_platform}
-pushd %{_target_platform}
-%{cmake_kf5} ..
-popd
-
-make %{?_smp_mflags} -C %{_target_platform}
+%{cmake_kf5}
+%cmake_build
 
 
 %install
-make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+%cmake_install
 
 # don't ship this Python 2 script, it is only used to generate the
 # documentation_files, it is not needed at runtime

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

only message in thread, other threads:[~2026-07-04 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-04 11:13 [rpms/kdevelop-python] f43: Improve compatibility with new CMake macro Igor Raits

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