public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rr] epel10: Update to new out-of-source build mechanism
@ 2026-11-10 21:33 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-11-10 21:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rr
Branch : epel10
Commit : 666af4148a7082ab90cadfa2c1fa694293a1aaf2
Author : Neal Gompa <ngompa13@gmail.com>
Date   : 2020-07-18T19:16:14-04:00
Stats  : +6/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rr/c/666af4148a7082ab90cadfa2c1fa694293a1aaf2?branch=epel10

Log:
Update to new out-of-source build mechanism

---
diff --git a/rr.spec b/rr.spec
index 012f87b..ce674fc 100644
--- a/rr.spec
+++ b/rr.spec
@@ -1,3 +1,6 @@
+# Force out of source build
+%undefine __cmake_in_source_build
+
 %global commit bab9ca94fc03d893cf6b8bf58f7b4522a0113466
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
 
@@ -57,15 +60,11 @@ which are used to test the functionality of rr.
 %setup -q -n rr-%{commit}
 
 %build
-
-mkdir obj && cd obj
-%cmake3 .. -DCMAKE_BUILD_TYPE=Release -DINSTALL_TESTSUITE=ON %{?disable32bit}
-
-make %{?_smp_mflags}
+%cmake3 -DCMAKE_BUILD_TYPE=Release -DINSTALL_TESTSUITE=ON %{?disable32bit}
+%cmake_build
 
 %install
-cd obj
-%make_install
+%cmake_install
 
 rm -rf %{buildroot}%{_datadir}/rr/src
 

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

only message in thread, other threads:[~2026-11-10 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 21:33 [rpms/rr] epel10: Update to new out-of-source build mechanism Neal Gompa

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