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

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.

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

only message in thread, other threads:[~2026-06-19 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 12:41 [rpms/gram_grep] 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