public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/guidelines-support-library] epel9: Switched to the new out of tree build behaviour.
@ 2026-09-06 5:05 Vitaly Zaitsev
0 siblings, 0 replies; only message in thread
From: Vitaly Zaitsev @ 2026-09-06 5:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/guidelines-support-library
Branch : epel9
Commit : 8f111d29277312f991ca921bae54bf27cfe93c87
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date : 2020-07-21T10:46:57+02:00
Stats : +6/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/guidelines-support-library/c/8f111d29277312f991ca921bae54bf27cfe93c87?branch=epel9
Log:
Switched to the new out of tree build behaviour.
---
diff --git a/guidelines-support-library.spec b/guidelines-support-library.spec
index 2643c36..6ee7cbb 100644
--- a/guidelines-support-library.spec
+++ b/guidelines-support-library.spec
@@ -1,3 +1,5 @@
+%undefine __cmake_in_source_build
+
Name: guidelines-support-library
Version: 3.1.0
Release: 2%{?dist}
@@ -29,19 +31,15 @@ Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release}
%prep
%autosetup -n GSL-%{version} -p1
-mkdir -p %{_target_platform}
%build
-pushd %{_target_platform}
- %cmake -G Ninja \
+%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
- -DGSL_TEST:BOOL=OFF \
- ..
-popd
-%ninja_build -C %{_target_platform}
+ -DGSL_TEST:BOOL=OFF
+%cmake_build
%install
-%ninja_install -C %{_target_platform}
+%cmake_install
%files devel
%doc README.md CONTRIBUTING.md
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-06 5:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-06 5:05 [rpms/guidelines-support-library] epel9: Switched to the new out of tree build behaviour Vitaly Zaitsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox