public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/libinstpatch] epel10: Fix a defective cherry-pick
Date: Mon, 19 Oct 2026 09:33:50 GMT	[thread overview]
Message-ID: <179240243029.1.10717411503664753413.rpms-libinstpatch-e2f031c20c10@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libinstpatch
Branch : epel10
Commit : e2f031c20c106f7a8c58353faaba163b138a6715
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-19T10:08:09+01:00
Stats  : +15/-18 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libinstpatch/c/e2f031c20c106f7a8c58353faaba163b138a6715?branch=epel10

Log:
Fix a defective cherry-pick

---
diff --git a/libinstpatch.spec b/libinstpatch.spec
index 4c3f0aa..c3a6827 100644
--- a/libinstpatch.spec
+++ b/libinstpatch.spec
@@ -137,8 +137,17 @@ sed --regexp-extended --in-place \
     's/([" ])-Wfatal-errors([" ])/\1\2/' CMakeLists.txt
 
 
+%conf
+%cmake \
+    -DGTKDOC_ENABLED:BOOL=ON \
+    -DINTROSPECTION_ENABLED:BOOL=%{with introspection} \
+    -GNinja
+
+
+%build
+%cmake_build
+
 %if %{with ctest}
-%build -a
 # There are no tests that can be run with ctest, but we can build a sample
 # application that loads a soundfont from a hard-coded path. There is a
 # test-app/Makefile, but the details are rigid and don’t fit well with our
@@ -151,30 +160,18 @@ ${CC} -o %{_vpath_builddir}/test-app/test_instpa_a \
     %{_vpath_builddir}/test-app/main.o %{?arch_has_asan:-fsanitize=address} \
     ${LDFLAGS} -L%{_vpath_builddir}/libinstpatch \
     -linstpatch-%{api_version} $(pkg-config --libs glib-2.0 gobject-2.0)
-
-
-%check
-LD_LIBRARY_PATH=%{_vpath_builddir}/libinstpatch \
-    %{_vpath_builddir}/test-app/test_instpa_a
 %endif
 
 
-%conf
-%cmake \
-    -DGTKDOC_ENABLED:BOOL=ON \
-    -DINTROSPECTION_ENABLED:BOOL=%{with introspection} \
-    -GNinja
-
-
-%build
-%cmake_build
-
-
 %install
 %cmake_install
 
 
-# Upstream provides no tests.
+%if %{with ctest}
+%check
+LD_LIBRARY_PATH=%{_vpath_builddir}/libinstpatch \
+    %{_vpath_builddir}/test-app/test_instpa_a
+%endif
 
 
 %files

                 reply	other threads:[~2026-10-19  9:33 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=179240243029.1.10717411503664753413.rpms-libinstpatch-e2f031c20c10@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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