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/bliss] rawhide: Use the cmake declarative buildsystem
Date: Mon, 13 Jul 2026 15:11:35 GMT	[thread overview]
Message-ID: <178395549579.1.5922126110030601231.rpms-bliss-4d75f486e34c@fedoraproject.org> (raw)

A new commit has been pushed.

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

Log:
Use the cmake declarative buildsystem

---
diff --git a/bliss.spec b/bliss.spec
index 2db8004..698771f 100644
--- a/bliss.spec
+++ b/bliss.spec
@@ -18,8 +18,9 @@ Patch:          bliss-rehn.patch
 
 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
+BuildSystem:    cmake
+BuildOption(conf): -DUSE_GMP:BOOL=ON
 
-BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel
@@ -77,7 +78,6 @@ A command-line bliss tool to access the functionality of the bliss library.
 %prep
 %autosetup -n Bliss-%{version} -p0
 
-%conf
 # Do not override Fedora build flags.  The last sagemath version added an
 # soname.  Duplicate it for compatibility.  Link the library with libgmp.
 # Hidden symbols hide ALL symbols, meaning we can't use the library.
@@ -88,20 +88,13 @@ sed -e 's/ -O3//' \
     -i CMakeLists.txt
 
 # Fix installation directories
-if [ "%{_lib}" != "lib" ]; then
-  sed -i 's,\(DESTINATION \)lib,\1%{_lib},' CMakeLists.txt
-fi
-
-%build
-%cmake -DUSE_GMP:BOOL=ON
-%cmake_build
+sed -i 's,\(DESTINATION \)lib,\1${LIB_INSTALL_DIR},' CMakeLists.txt
 
+%build -a
 # Build the documentation
 doxygen
 
-%install
-%cmake_install
-
+%install -a
 # Install the man page
 mkdir -p %{buildroot}%{_mandir}/man1
 sed 's/@VERSION@/%{version}/' %{SOURCE1} > %{buildroot}%{_mandir}/man1/bliss.1
@@ -123,6 +116,9 @@ touch -r %{SOURCE1} %{buildroot}%{_mandir}/man1/bliss.1
 %{_libdir}/libbliss.so.2{,.*}
 
 %changelog
+* Mon Jul 13 2026 Jerry James <loganjerry@gmail.com> - 0.77-13
+- Use the cmake declarative buildsystem
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.77-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

                 reply	other threads:[~2026-07-13 15:11 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=178395549579.1.5922126110030601231.rpms-bliss-4d75f486e34c@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