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/gram_grep] f44: Use the cmake declarative buildsystem
Date: Fri, 19 Jun 2026 12:41:08 GMT	[thread overview]
Message-ID: <178187286841.1.2690781912064673840.rpms-gram_grep-784587866660@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gram_grep
Branch : f44
Commit : 7845878666602f640bda9abf332d7f9ae75b9666
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-17T18:53:27+01:00
Stats  : +3/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gram_grep/c/7845878666602f640bda9abf332d7f9ae75b9666?branch=f44

Log:
Use the cmake declarative buildsystem

---
diff --git a/gram_grep.spec b/gram_grep.spec
index f5ce8a4..0e126f2 100644
--- a/gram_grep.spec
+++ b/gram_grep.spec
@@ -15,8 +15,9 @@ Source1:        gram_grep.1
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
 
+BuildSystem:    cmake
+
 BuildRequires:  gcc-c++
-BuildRequires:  cmake
 BuildRequires:  dos2unix
 
 BuildRequires:  boost-devel
@@ -30,9 +31,7 @@ Search text using a grammar, lexer, or straight regex. Chain searches for
 greater refinement.
 
 
-%prep
-%autosetup -n gram_grep-%{version}
-
+%prep -a
 # Fix line terminations (particularly for files that may be installed)
 find . -type f -exec file '{}' '+' |
   grep -E '\bCRLF\b' |
@@ -44,14 +43,6 @@ sed -r -i 's@^([[:blank:]]*)(include_directories.*"\.\./)@\1# \2@' \
     CMakeLists.txt
 
 
-%conf
-%cmake
-
-
-%build
-%cmake_build
-
-
 %install
 # The CMake build system has no provision for installing the program, so
 # %%cmake_install would do nothing. We must install the executable manually.

                 reply	other threads:[~2026-06-19 12:41 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=178187286841.1.2690781912064673840.rpms-gram_grep-784587866660@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