public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/zimpl] rawhide: Use the cmake declarative buildsystem
Date: Wed, 15 Jul 2026 01:34:41 GMT	[thread overview]
Message-ID: <178407928179.1.10513980813672561878.rpms-zimpl-31ad5ad8c323@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/zimpl
Branch : rawhide
Commit : 31ad5ad8c32362a34c5e226c014d1ea3a76316ae
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-07-14T19:34:30-06:00
Stats  : +4/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/zimpl/c/31ad5ad8c32362a34c5e226c014d1ea3a76316ae?branch=rawhide

Log:
Use the cmake declarative buildsystem

---
diff --git a/zimpl.spec b/zimpl.spec
index 37bb313..a530c0c 100644
--- a/zimpl.spec
+++ b/zimpl.spec
@@ -33,9 +33,9 @@ Patch:          %{name}-test-bsearch.patch
 
 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
+BuildSystem:    cmake
 
 BuildRequires:  bison
-BuildRequires:  cmake
 BuildRequires:  flex
 BuildRequires:  gcc
 BuildRequires:  pkgconfig(gmp)
@@ -80,18 +80,14 @@ that use libzimpl.
 %prep
 %autosetup -p1
 
-%conf
 # Avoid warnings about obsolete invocations of grep
 sed -i 's/fgrep/grep -F/' check/check.sh
 
-%build
+%conf -p
 export CFLAGS='%{build_cflags} -DFREEMEM -DNO_MSHELL'
 export CXXFLAGS='%{build_cxxflags} -DFREEMEM -DNO_MSHELL'
-%cmake
-%cmake_build
 
-%install
-%cmake_install
+%install -a
 mkdir -p %{buildroot}%{_mandir}/man1
 cp -p doc/zimpl.man %{buildroot}%{_mandir}/man1/zimpl.1
 
@@ -103,9 +99,9 @@ mkdir -p %{_vpath_builddir}/zimpl
 ln -s ../../src/zimpl/mmlscan.l %{_vpath_builddir}/zimpl
 ln -s ../../src/zimpl/mmlparse2.y %{_vpath_builddir}/zimpl
 
+%check
 # FIXME: Test qubo.zpl (qbo: lp) fails on ppc64le
 %ifnarch %{power64}
-%check
 export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 cd check
 sh check.sh ../%{_vpath_builddir}/bin/zimpl

                 reply	other threads:[~2026-07-15  1:34 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=178407928179.1.10513980813672561878.rpms-zimpl-31ad5ad8c323@fedoraproject.org \
    --to=loganjerry@gmail.com \
    --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