public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libinstpatch] epel10: Fix a defective cherry-pick
@ 2026-10-19  9:33 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-19  9:33 UTC (permalink / raw)
  To: git-commits

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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19  9:33 [rpms/libinstpatch] epel10: Fix a defective cherry-pick Benjamin A. Beasley

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