- adjust to new pkg-config behavior wrt private dependencies (#596433)

This commit is contained in:
Panu Matilainen 2010-05-27 12:21:55 +00:00
parent 63747f2774
commit 39013eb03a
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- redhat-rpm-config-9.1.0/find-requires.pkgconfig 2010-05-26 19:38:28.892598734 -0400
+++ redhat-rpm-config-9.1.0/find-requires.pkgconfig.new-pkgconfig 2010-05-26 19:39:40.174602325 -0400
@@ -4,7 +4,7 @@ test -x $pkgconfig || exit 0
while read filename ; do
case "${filename}" in
*.pc)
- $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
echo "pkgconfig($n)" "$r" "$v"
done
esac

View File

@ -1,7 +1,7 @@
Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config
Version: 9.1.0
Release: 4%{?dist}
Release: 5%{?dist}
# No version specified.
License: GPL+
Group: Development/System
@ -10,6 +10,7 @@ Source: redhat-rpm-config-%{version}.tar.bz2
Patch0: redhat-rpm-config-9.1.0-strict-python-bytecompile.patch
Patch1: redhat-rpm-config-9.1.0-fix-requires.patch
Patch2: redhat-rpm-config-9.1.0-no-strip-note.patch
Patch3: redhat-rpm-config-9.1.0-pkgconfig-private.patch
BuildArch: noarch
Requires: mktemp
Requires: rpm >= 4.6.0
@ -24,6 +25,7 @@ Red Hat specific rpm configuration files.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
@ -43,6 +45,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat
%changelog
* Thu May 27 2010 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-5
- adjust to new pkg-config behavior wrt private dependencies (#596433)
* Mon Mar 01 2010 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-4
- avoid unnecessarily running brp-strip-comment-note (#568924)