public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/breakid] rawhide: Use the cmake declarative buildsystem
@ 2026-07-13 15:12 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-13 15:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/breakid
Branch : rawhide
Commit : 19b3d5dbdae265865f469b98f8b96e1100c1b549
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-07-13T09:12:16-06:00
Stats  : +16/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/breakid/c/19b3d5dbdae265865f469b98f8b96e1100c1b549?branch=rawhide

Log:
Use the cmake declarative buildsystem

---
diff --git a/breakid.spec b/breakid.spec
index 89a16ae..8865bf7 100644
--- a/breakid.spec
+++ b/breakid.spec
@@ -1,9 +1,22 @@
+# Whether to run tests
+%bcond ctest 1
+
 Name:           breakid
 Version:        3.1.3
 Release:        %autorelease
 Summary:        Symmetry detecting and breaking library
 
 License:        MIT
+# BSL-1.0: cmake/GetGitRevisionDescription.cmake*
+# GPL-2.0-only: scripts/{fix_cnf,rem_dup_cls,xor_to_cnf}.py
+# LGPL-3.0-only: src/bliss
+# LicenseRef-Fedora-Public-Domain: cmake/FindPkgMacros.cmake
+SourceLicense:  %{shrink:%{license}
+                  AND BSL-1.0
+                  AND GPL-2.0-only
+                  AND LGPL-3.0-only
+                  AND LicenseRef-Fedora-Public-Domain
+                }
 URL:            https://github.com/meelgroup/breakid
 VCS:            git:%{url}.git
 Source:         %{url}/archive/release/%{version}/%{name}-%{version}.tar.gz
@@ -14,9 +27,10 @@ Patch:          %{name}-unbundle-bliss.patch
 
 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
+BuildSystem:    cmake
+BuildOption(conf): -DBREAKID_INSTALL_CMAKE_DIR:PATH=%{_lib}/cmake/breakid
 
 BuildRequires:  bliss-devel
-BuildRequires:  cmake
 BuildRequires:  cmake(argparse)
 BuildRequires:  gcc-c++
 BuildRequires:  help2man
@@ -37,7 +51,6 @@ Header files and library links for developing applications that use breakid.
 %prep
 %autosetup -n %{name}-release-%{version} -p1
 
-%conf
 # Make sure the bundled bliss cannot be used
 rm -fr src/bliss
 
@@ -50,13 +63,7 @@ sed -i.orig 's/\r//' README.md
 touch -r README.md.orig README.md
 rm README.md.orig
 
-%build
-%cmake -DBREAKID_INSTALL_CMAKE_DIR:PATH=%{_lib}/cmake/breakid
-%cmake_build
-
-%install
-%cmake_install
-
+%install -a
 mkdir -p %{buildroot}%{_mandir}/man1
 cd %{_vpath_builddir}
 help2man -N --version-string=%{version} ./breakid \
@@ -64,9 +71,6 @@ help2man -N --version-string=%{version} ./breakid \
   -o %{buildroot}%{_mandir}/man1/breakid.1
 cd -
 
-%check
-%ctest
-
 %files
 %doc README.md
 %license LICENSE

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

only message in thread, other threads:[~2026-07-13 15:12 UTC | newest]

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