public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zimpl] rawhide: Use the cmake declarative buildsystem
@ 2026-07-15 1:34 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-15 1:34 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-15 1:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 1:34 [rpms/zimpl] rawhide: Use the cmake declarative buildsystem Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox