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] f44: Use the cmake declarative buildsystem
Date: Sat, 17 Oct 2026 09:38:19 GMT	[thread overview]
Message-ID: <179222989980.1.8755236805199522954.rpms-libinstpatch-c75522e3ee36@fedoraproject.org> (raw)

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}{,.*}

                 reply	other threads:[~2026-10-17  9:38 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=179222989980.1.8755236805199522954.rpms-libinstpatch-c75522e3ee36@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