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/scalapack] rawhide: Fix .pc file generation
Date: Tue, 06 Oct 2026 16:40:42 GMT	[thread overview]
Message-ID: <179130484211.1.9035910532778140680.rpms-scalapack-42f0a6fc782b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/scalapack
Branch : rawhide
Commit : 42f0a6fc782b55c0e376b612b2fdc7767f66eb70
Author : Cristian Le <git@lecris.dev>
Date   : 2026-09-30T10:34:16+02:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/scalapack/c/42f0a6fc782b55c0e376b612b2fdc7767f66eb70?branch=rawhide

Log:
Fix .pc file generation

---
diff --git a/scalapack-2.2.3-fix-pkgconfig.patch b/scalapack-2.2.3-fix-pkgconfig.patch
new file mode 100644
index 0000000..d5b3a3c
--- /dev/null
+++ b/scalapack-2.2.3-fix-pkgconfig.patch
@@ -0,0 +1,12 @@
+diff -ru scalapack-2.2.3/CMakeLists.txt scalapack-2.2.3-new/CMakeLists.txt
+--- scalapack-2.2.3/scalapack-2.2.3/CMakeLists.txt	2026-03-24 20:40:03.000000000 +0100
++++ scalapack-2.2.3-new/scalapack-2.2.3/CMakeLists.txt	2026-09-30 10:33:23.715289836 +0200
+@@ -306,7 +306,7 @@
+ configure_file(${SCALAPACK_SOURCE_DIR}/CMAKE/scalapack-config-build.cmake.in
+   ${SCALAPACK_BINARY_DIR}/scalapack-config.cmake @ONLY)
+ 
+-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scalapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/scalapack.pc)
++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scalapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/scalapack.pc @ONLY)
+  install(FILES
+   ${CMAKE_CURRENT_BINARY_DIR}/scalapack.pc
+   DESTINATION ${PKG_CONFIG_DIR}

diff --git a/scalapack.spec b/scalapack.spec
index ae5c387..17a2697 100644
--- a/scalapack.spec
+++ b/scalapack.spec
@@ -57,10 +57,11 @@
 Summary: A subset of LAPACK routines redesigned for heterogeneous computing
 Name: scalapack
 Version: 2.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD-3-Clause-Open-MPI
 URL: http://www.netlib.org/scalapack/
 Source0: https://github.com/Reference-ScaLAPACK/scalapack/archive/v%{version}.tar.gz
+Patch:   scalapack-2.2.3-fix-pkgconfig.patch
 BuildRequires: cmake
 %if %{with optimized_blas}
 BuildRequires: %{blaslib}-devel
@@ -338,6 +339,7 @@ This package contains static libraries for ScaLAPACK, compiled against openmpi3.
 
 %prep
 %setup -q -c -n %{name}-%{version}
+%patch -P0 -p1 -b .fix-pkgconfig
 
 for i in %{?with_mpich:mpich} %{?with_openmpi:openmpi} %{?with_openmpi3:openmpi3}; do
   cp -a %{name}-%{version} %{name}-%{version}-$i
@@ -487,6 +489,9 @@ sed -i 's|lapack blas|flexiblas|g' %{buildroot}%{_libdir}/mpich/lib/pkgconfig/sc
 %endif
 
 %changelog
+* Wed Sep 30 2026 Cristian Le <fedora@lecris.me> - 2.2.3-2
+- Fix .pc file generation
+
 * Mon Sep 28 2026 Tom Callaway <spot@fedoraproject.org> - 2.2.3-1
 - update to 2.2.3
 

                 reply	other threads:[~2026-10-06 16:40 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=179130484211.1.9035910532778140680.rpms-scalapack-42f0a6fc782b@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