public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitaly Zaitsev <vitaly@easycoding.org>
To: git-commits@fedoraproject.org
Subject: [rpms/guidelines-support-library] epel9: Switched to the new out of tree build behaviour.
Date: Sun, 06 Sep 2026 05:05:50 GMT	[thread overview]
Message-ID: <178867115093.1.4607005536309072464.rpms-guidelines-support-library-8f111d292773@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-06  5:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178867115093.1.4607005536309072464.rpms-guidelines-support-library-8f111d292773@fedoraproject.org \
    --to=vitaly@easycoding.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox