- adjust to new pkg-config behavior wrt private dependencies (#596433)
This commit is contained in:
parent
63747f2774
commit
39013eb03a
11
redhat-rpm-config-9.1.0-pkgconfig-private.patch
Normal file
11
redhat-rpm-config-9.1.0-pkgconfig-private.patch
Normal 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
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 9.1.0
|
Version: 9.1.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Development/System
|
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
|
Patch0: redhat-rpm-config-9.1.0-strict-python-bytecompile.patch
|
||||||
Patch1: redhat-rpm-config-9.1.0-fix-requires.patch
|
Patch1: redhat-rpm-config-9.1.0-fix-requires.patch
|
||||||
Patch2: redhat-rpm-config-9.1.0-no-strip-note.patch
|
Patch2: redhat-rpm-config-9.1.0-no-strip-note.patch
|
||||||
|
Patch3: redhat-rpm-config-9.1.0-pkgconfig-private.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: mktemp
|
Requires: mktemp
|
||||||
Requires: rpm >= 4.6.0
|
Requires: rpm >= 4.6.0
|
||||||
@ -24,6 +25,7 @@ Red Hat specific rpm configuration files.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -43,6 +45,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_prefix}/lib/rpm/redhat
|
%{_prefix}/lib/rpm/redhat
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 01 2010 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-4
|
||||||
- avoid unnecessarily running brp-strip-comment-note (#568924)
|
- avoid unnecessarily running brp-strip-comment-note (#568924)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user