public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cristian Le <git@lecris.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/combblas] rawhide: Use CMake native logic to strip rpath
Date: Wed, 21 Oct 2026 07:30:43 GMT	[thread overview]
Message-ID: <179256784363.1.5681470215968700157.rpms-combblas-5adef525d706@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/combblas
Branch : rawhide
Commit : 5adef525d706b36c58a114c3c8ed05b265ab344a
Author : Cristian Le <git@lecris.dev>
Date   : 2026-10-20T12:39:51+02:00
Stats  : +8/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/combblas/c/5adef525d706b36c58a114c3c8ed05b265ab344a?branch=rawhide

Log:
Use CMake native logic to strip rpath

---
diff --git a/combblas.spec b/combblas.spec
index eaf34f9..633093d 100644
--- a/combblas.spec
+++ b/combblas.spec
@@ -25,7 +25,7 @@
 
 Name:          combblas
 Version:       2.0.0
-Release:       16%{?dist}
+Release:       17%{?dist}
 Summary:       The Combinatorial BLAS Library
 
 # Main license for CombBLAS is BSD-3-Clause-LBNL
@@ -42,7 +42,6 @@ Source1:       http://eecs.berkeley.edu/~aydin/%{truename}_FILES/testdata_%{name
 
 BuildRequires: gcc-c++
 BuildRequires: cmake
-BuildRequires: chrpath
 
 # Use a versioned soname for all libraries
 Patch1: %{name}-sublibs_soname.patch
@@ -129,6 +128,8 @@ export LDFLAGS="%{__global_ldflags} -lm -lrt"
  -DCMAKE_INSTALL_LIBDIR:PATH=lib \
  -DCMAKE_INSTALL_INCLUDEDIR:PATH=${MPI_INCLUDE} \
  -DMPIEXEC_NUMPROC_FLAG=-n -DMPIEXEC_MAX_NUMPROCS:STRING="`/usr/bin/getconf _NPROCESSORS_ONLN`" \
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
+ -DCMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH:BOOL=ON \
 %if %{with debug}
  -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
  -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-O0 -g -DDEBUG" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-O0 -g -DDEBUG" \
@@ -153,6 +154,8 @@ export LDFLAGS="%{__global_ldflags} -lm -lrt"
  -DCMAKE_INSTALL_LIBDIR:PATH=lib \
  -DCMAKE_INSTALL_INCLUDEDIR:PATH=${MPI_INCLUDE} \
  -DMPIEXEC_NUMPROC_FLAG=-n -DMPIEXEC_MAX_NUMPROCS:STRING="`/usr/bin/getconf _NPROCESSORS_ONLN`" \
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
+ -DCMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH:BOOL=ON \
 %if %{with debug}
  -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
  -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-O0 -g -DDEBUG" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-O0 -g -DDEBUG" \
@@ -172,7 +175,6 @@ export LDFLAGS="%{__global_ldflags} -lm -lrt"
 %define _vpath_builddir build/openmpi
 %cmake_install
 
-chrpath -r $MPI_LIB %{buildroot}$MPI_LIB/libCombBLAS.so.*
 %{_openmpi_unload}
 %endif
 
@@ -181,7 +183,6 @@ chrpath -r $MPI_LIB %{buildroot}$MPI_LIB/libCombBLAS.so.*
 %define _vpath_builddir build/mpich
 %cmake_install
 
-chrpath -r $MPI_LIB %{buildroot}$MPI_LIB/libCombBLAS.so.*
 %{_mpich_unload}
 %endif
 
@@ -254,6 +255,9 @@ export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$MPI_LIB
 %endif
 
 %changelog
+* Tue Oct 20 2026 Cristian Le <git@lecris.dev> - 2.0.0-17
+- Use CMake native logic to strip rpath
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-10-21  7:30 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=179256784363.1.5681470215968700157.rpms-combblas-5adef525d706@fedoraproject.org \
    --to=git@lecris.dev \
    --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