[packages/rpm] Generate pkgconfig() R for Requires.private

wiget wiget at pld-linux.org
Sat Sep 29 10:28:10 CEST 2012


commit 6185b8f19025414719b28976e9194a2e6f2cfdaa
Author: Artur Frysiak <artur at frysiak.net>
Date:   Sat Sep 29 10:16:02 2012 +0200

    Generate pkgconfig() R for Requires.private
    
    "pkg-config --exists" needs Requires and Requires.private to be
    fullfilled.

 rpm-5.4.4-pkgconfigdeps-check-path.patch | 2 +-
 rpm.spec                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index d9bea04..426ddef 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -51,7 +51,7 @@ Summary(ru.UTF-8):	Менеджер пакетов от RPM
 Summary(uk.UTF-8):	Менеджер пакетів від RPM
 Name:		rpm
 Version:	5.4.10
-Release:	13
+Release:	14
 License:	LGPL
 Group:		Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.10-0.20120706.src.rpm
diff --git a/rpm-5.4.4-pkgconfigdeps-check-path.patch b/rpm-5.4.4-pkgconfigdeps-check-path.patch
index 39858fe..5309292 100644
--- a/rpm-5.4.4-pkgconfigdeps-check-path.patch
+++ b/rpm-5.4.4-pkgconfigdeps-check-path.patch
@@ -61,7 +61,7 @@
 +	    DIR=`dirname ${filename}`
 +	    PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
 +	    export PKG_CONFIG_PATH
-+	    $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
 +		if  [ -n "$r" ] && [ -n "$v" ]; then
 +		    echo "pkgconfig($n) $r $v"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/6185b8f19025414719b28976e9194a2e6f2cfdaa



More information about the pld-cvs-commit mailing list