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: - adjust to new pkg-config behavior wrt private dependencies (#596433)
Date: Mon, 23 Nov 2026 09:26:38 GMT	[thread overview]
Message-ID: <179542599801.1.10322612303123940008.rpms-rpm-019f97fda668@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 019f97fda668f74e30be1f2ce17a4afc525e1984
            Author : Panu Matilainen <pmatilai@fedoraproject.org>
            Date   : 2010-05-27T12:34:35+00:00
            Stats  : +20/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/019f97fda668f74e30be1f2ce17a4afc525e1984?branch=pmatilai-v6

            Log:
            - adjust to new pkg-config behavior wrt private dependencies (#596433)
- rpm-build now requires pkgconfig >= 0.24

---
diff --git a/rpm-4.8.0-pkgconfig-private.patch b/rpm-4.8.0-pkgconfig-private.patch
new file mode 100644
index 0000000..fa05ede
--- /dev/null
+++ b/rpm-4.8.0-pkgconfig-private.patch
@@ -0,0 +1,12 @@
+diff -up rpm-4.8.0/scripts/pkgconfigdeps.sh.pkgconfig-private rpm-4.8.0/scripts/pkgconfigdeps.sh
+--- rpm-4.8.0/scripts/pkgconfigdeps.sh.pkgconfig-private	2010-05-27 15:24:48.000000000 +0300
++++ rpm-4.8.0/scripts/pkgconfigdeps.sh	2010-05-27 15:25:01.000000000 +0300
+@@ -39,7 +39,7 @@ case $1 in
+ 	[ $i -eq 1 ] && echo "$pkgconfig"
+ 	DIR="`dirname ${filename}`"
+ 	export PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
+-	$pkgconfig --print-requires "$filename" 2> /dev/null | while read n r v ; do
++	$pkgconfig --print-requires --print-requires-private "$filename" 2> /dev/null | while read n r v ; do
+ 	    [ -n "$n" ] || continue
+ 	    echo -n "pkgconfig($n) "
+ 	    [ -n "$r" ] && [ -n "$v" ] && echo -n "$r" "$v"

diff --git a/rpm.spec b/rpm.spec
index 47808c7..7baf1cd 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: 15%{?dist}
+Release: 16%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -56,6 +56,7 @@ Patch210: rpm-4.8.0-findlang-localedirs.patch
 # These are not yet upstream
 Patch301: rpm-4.6.0-niagara.patch
 Patch302: rpm-4.7.1-geode-i686.patch
+Patch303: rpm-4.8.0-pkgconfig-private.patch
 
 # Partially GPL/LGPL dual-licensed and some bits with BSD
 # SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD 
@@ -150,7 +151,7 @@ Requires: rpm = %{version}-%{release}
 Requires: elfutils >= 0.128 binutils
 Requires: findutils sed grep gawk diffutils file patch >= 2.5
 Requires: unzip gzip bzip2 cpio xz
-Requires: pkgconfig
+Requires: pkgconfig >= 1:0.24
 Conflicts: ocaml-runtime < 3.11.1-7
 
 %description build
@@ -212,6 +213,7 @@ packages on a system.
 
 %patch301 -p1 -b .niagara
 %patch302 -p1 -b .geode
+%patch303 -p1 -b .pkgconfig-private
 
 %if %{with int_bdb}
 ln -s db-%{bdbver} db
@@ -424,6 +426,10 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Thu May 27 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.0-16
+- adjust to new pkg-config behavior wrt private dependencies (#596433)
+- rpm-build now requires pkgconfig >= 0.24
+
 * Fri May 21 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.0-15
 - handle non-existent dependency sets correctly in python (#593553)
 - make find-lang look in all locale dirs (#584866)

                 reply	other threads:[~2026-11-23  9:26 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=179542599801.1.10322612303123940008.rpms-rpm-019f97fda668@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