public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Antonio Trande <sagitter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/petsc] f45: Symlinked PETSc64 pkgconfig files
Date: Fri, 11 Sep 2026 20:35:06 GMT	[thread overview]
Message-ID: <178915890633.1.17320125750262154550.rpms-petsc-25d4ff5c2990@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/petsc
Branch : f45
Commit : 25d4ff5c299000beaabcc94ee764d24248407c70
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-09-11T22:30:55+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/petsc/c/25d4ff5c299000beaabcc94ee764d24248407c70?branch=f45

Log:
Symlinked PETSc64 pkgconfig files

---
diff --git a/petsc.spec b/petsc.spec
index 076f587..1aed608 100644
--- a/petsc.spec
+++ b/petsc.spec
@@ -852,11 +852,11 @@ cp -p %{_arch}/lib/pkgconfig/PETSc.pc %{buildroot}%{_libdir}/pkgconfig/PETSc64.p
 cp -p %{_arch}/lib/pkgconfig/PETSc.pc %{buildroot}%{_libdir}/pkgconfig/petsc64.pc
 sed -e 's|${prefix}/lib|${prefix}/%{_lib}|g' -i %{buildroot}%{_libdir}/pkgconfig/PETSc64.pc
 sed -e 's|${prefix}/lib|${prefix}/%{_lib}|g' -i %{buildroot}%{_libdir}/pkgconfig/petsc64.pc
-sed -e 's|-lpetsc|-lpetsc64|g' -i %{buildroot}%{_libdir}/pkgconfig/PETSc64.pc
 sed -e 's|-lpetsc|-lpetsc64|g' -i %{buildroot}%{_libdir}/pkgconfig/petsc64.pc
 # Set include/petsc64 directory
 sed -e 's|-I${includedir}/petsc|-I${includedir}/petsc64|g' -i %{buildroot}%{_libdir}/pkgconfig/PETSc64.pc
 sed -e 's|-I${includedir}/petsc|-I${includedir}/petsc64|g' -i %{buildroot}%{_libdir}/pkgconfig/petsc64.pc
+ln -srf %{_libdir}/pkgconfig/petsc64.pc %{buildroot}%{_libdir}/pkgconfig/PETSc64.pc
 
 install -pm 644 %{_arch}/lib/petsc/conf/petscrules %{buildroot}%{_libdir}/%{name}64/conf/
 install -pm 644 %{_arch}/lib/petsc/conf/petscvariables %{buildroot}%{_libdir}/%{name}64/conf/

                 reply	other threads:[~2026-09-11 20:35 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=178915890633.1.17320125750262154550.rpms-petsc-25d4ff5c2990@fedoraproject.org \
    --to=sagitter@fedoraproject.org \
    --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