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/HPCombi] rawhide: Use the cmake declarative buildsystem
Date: Mon, 13 Jul 2026 22:26:35 GMT [thread overview]
Message-ID: <178398159512.1.18051540582094622789.rpms-HPCombi-0b7c1237e801@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/HPCombi
Branch : rawhide
Commit : 0b7c1237e801e04a0a00cf392317633921232cb6
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-13T16:26:20-06:00
Stats : +14/-18 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/HPCombi/c/0b7c1237e801e04a0a00cf392317633921232cb6?branch=rawhide
Log:
Use the cmake declarative buildsystem
---
diff --git a/HPCombi.spec b/HPCombi.spec
index f6ac077..d62b32c 100644
--- a/HPCombi.spec
+++ b/HPCombi.spec
@@ -1,3 +1,6 @@
+# Whether to run tests
+%bcond ctest 1
+
# There are no ELF objects in this package, so turn off debuginfo generation.
%global debug_package %{nil}
@@ -20,9 +23,18 @@ Patch: %{name}-unbundle-simde.patch
# Limited support for architectures. Recheck this on each release.
ExclusiveArch: %{x86_64} %{arm64}
+BuildSystem: cmake
+%if %{with ctest}
+BuildOption(conf): -DBUILD_TESTING:BOOL=ON
+%endif
+%ifarch %{arm64}
+# Skip the EPU8 test; see https://github.com/libsemigroups/HPCombi/issues/70
+BuildOption(check): -E EPU8
+%endif
-BuildRequires: cmake
+%if %{with ctest}
BuildRequires: cmake(Catch2)
+%endif
BuildRequires: doxygen-latex
BuildRequires: gcc-c++
BuildRequires: pkgconfig(libsparsehash)
@@ -70,20 +82,13 @@ API documentation for HPCombi.
%prep
%autosetup -p1
-%conf
# Ensure we can't use the bundled simde
rm -fr third_party
# Install the pkgconfig file in the noarch directory
sed -i 's,lib/,share/,' CMakeLists.txt
-%build
-%cmake -DBUILD_TESTING:BOOL=ON
-%cmake_build
-
-%install
-%cmake_install
-
+%install -a
# We install license and documentation separately
rm -fr %{buildroot}%{_datadir}/hpcombi
@@ -104,15 +109,6 @@ for f in %{buildroot}%{_includedir}/hpcombi/*.hpp; do
fixtimestamp $f
done
-# There are currently no tests. Uncomment this when there are.
-%check
-%ifarch %{arm64}
-# Skip the EPU8 test; see https://github.com/libsemigroups/HPCombi/issues/70
-%ctest -E EPU8
-%else
-%ctest
-%endif
-
%files devel
%doc README.md
%license LICENSE
reply other threads:[~2026-07-13 22:26 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=178398159512.1.18051540582094622789.rpms-HPCombi-0b7c1237e801@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