public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/scalapack] rawhide: Fix .pc file generation
@ 2026-10-06 16:40 Cristian Le
0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-10-06 16:40 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 16:40 [rpms/scalapack] rawhide: Fix .pc file generation Cristian Le
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox