public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - fix pkg-config provide generation when pc's depend on each other
Date: Mon, 23 Nov 2026 09:25:21 GMT	[thread overview]
Message-ID: <179542592148.1.4196440541591715136.rpms-rpm-dd1fdd8b26f7@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/rpm
        Branch : pmatilai-v6
        Commit : dd1fdd8b26f7f6719207f87d13958c7100917b90
        Author : Panu Matilainen <pmatilai@fedoraproject.org>
        Date   : 2008-12-02T16:35:22+00:00
        Stats  : +19/-1 in 2 file(s)
        URL    : https://src.fedoraproject.org/rpms/rpm/c/dd1fdd8b26f7f6719207f87d13958c7100917b90?branch=pmatilai-v6

        Log:
        - fix pkg-config provide generation when pc's depend on each other
(#473814)

---
diff --git a/rpm-4.6.0-rc2-pkgconfig-provides.patch b/rpm-4.6.0-rc2-pkgconfig-provides.patch
new file mode 100644
index 0000000..158d67b
--- /dev/null
+++ b/rpm-4.6.0-rc2-pkgconfig-provides.patch
@@ -0,0 +1,13 @@
+diff --git a/scripts/pkgconfigdeps.sh b/scripts/pkgconfigdeps.sh
+index 882d195..6baa0f1 100755
+--- a/scripts/pkgconfigdeps.sh
++++ b/scripts/pkgconfigdeps.sh
+@@ -17,6 +17,8 @@ case $1 in
+     case "${filename}" in
+     *.pc)
+ 	# Query the dependencies of the package.
++	DIR="`dirname ${filename}`"
++	export PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
+ 	$pkgconfig --print-provides "$filename" 2> /dev/null | while read n r v ; do
+ 	    # We have a dependency.  Make a note that we need the pkgconfig
+ 	    # tool for this package.

diff --git a/rpm.spec b/rpm.spec
index c7fb2f1..57aea37 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: 0.%{snapver}.5
+Release: 0.%{snapver}.6
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -30,6 +30,7 @@ Patch0: rpm-4.5.90-devel-autodep.patch
 Patch1: rpm-4.5.90-pkgconfig-path.patch
 Patch2: rpm-4.5.90-gstreamer-provides.patch
 Patch3: rpm-4.5.90-rpmfileutil.patch
+Patch4: rpm-4.6.0-rc2-pkgconfig-provides.patch
 
 # Patches already in upstream
 
@@ -164,6 +165,7 @@ that will manipulate RPM packages and databases.
 %patch1 -p1 -b .pkgconfig-path
 %patch2 -p1 -b .gstreamer-prov
 %patch3 -p1 -b .rpmfileutil
+%patch4 -p1 -b .pkgconfig-provides
 
 # needs a bit of upstream love first...
 #%patch300 -p1 -b .posttrans
@@ -354,6 +356,9 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Tue Dec 02 2008 Panu Matilainen <pmatilai@redhat.com>
+- fix pkg-config provide generation when pc's depend on each other (#473814)
+
 * Mon Dec 01 2008 Jindrich Novy <jnovy@redhat.com>
 - include rpmfileutil.h from rpmmacro.h, unbreaks
   net-snmp (#473420)

                 reply	other threads:[~2026-11-23  9:25 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=179542592148.1.4196440541591715136.rpms-rpm-dd1fdd8b26f7@fedoraproject.org \
    --to=pmatilai@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