public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libinstpatch] f44: Use the cmake declarative buildsystem
@ 2026-10-17  9:38 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-17  9:38 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libinstpatch
Branch : f44
Commit : c75522e3ee3652c42a073920a2fe4383cd71439e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-17T20:49:59+01:00
Stats  : +8/-22 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libinstpatch/c/c75522e3ee3652c42a073920a2fe4383cd71439e?branch=f44

Log:
Use the cmake declarative buildsystem

---
diff --git a/libinstpatch.spec b/libinstpatch.spec
index f413034..6941a1c 100644
--- a/libinstpatch.spec
+++ b/libinstpatch.spec
@@ -38,7 +38,13 @@ SourceLicense:  %{license} AND GPL-2.0-only
 %global forgeurl https://github.com/swami/libinstpatch
 Source:         %{forgeurl}/archive/v%{version}/libinstpatch-%{version}.tar.gz
 
-BuildRequires:  cmake
+BuildSystem:    cmake
+BuildOption(conf): %{shrink:
+    -DINTROSPECTION_ENABLED:BOOL=%{?with_introspection:ON}%{!?with_introspection:OFF}
+    -DGTKDOC_ENABLED:BOOL=ON
+    }
+# Upstream provides no tests.
+
 BuildRequires:  gcc
 
 BuildRequires:  pkgconfig(gobject-2.0)
@@ -109,31 +115,11 @@ The libinstpatch-doc package contains documentation and examples for
 libinstpatch.
 
 
-%prep
-%autosetup -p1
-
+%prep -a
 # Remove example for nonexistent Python bindings
 find examples -type f -name '*.py' -print -delete
 
 
-%conf
-%cmake \
-    -DINTROSPECTION_ENABLED:BOOL=\
-%{?with_introspection:ON}%{!?with_introspection:OFF} \
-    -DGTKDOC_ENABLED:BOOL=ON
-
-
-%build
-%cmake_build
-
-
-%install
-%cmake_install
-
-
-# Upstream provides no tests.
-
-
 %files
 %license COPYING
 %{_libdir}/libinstpatch-%{api_version}.so.%{so_version}{,.*}

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17  9:38 [rpms/libinstpatch] f44: Use the cmake declarative buildsystem 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