Correct path substitutions of pkgconfig files in dynamic directory.

Wed, 14 Jan 2009 16:59:11 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 14 Jan 2009 16:59:11 +0100
changeset 87
7cedea33cc19
parent 86
78e7deb1d6ab
child 88
5eb8172041b5

Correct path substitutions of pkgconfig files in dynamic directory.

qt/qt.spec file | annotate | diff | comparison | revisions
     1.1 --- a/qt/qt.spec	Wed Jan 14 15:59:12 2009 +0100
     1.2 +++ b/qt/qt.spec	Wed Jan 14 16:59:11 2009 +0100
     1.3 @@ -385,10 +385,10 @@
     1.4      %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt
     1.5  
     1.6      #   offer limited support of pkg-config(1) for shared libs
     1.7 +    #   substitution unfortunately only handles paths with no whitespace
     1.8      %{l_shtool} subst \
     1.9 -        -e "s;\(moc_location[^=]*=\).*;\1%{l_prefix}/bin/moc;" \
    1.10 -        -e "s;\(uic_location[^=]*=\).*;\1%{l_prefix}/bin/uic;" \
    1.11 -        $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig
    1.12 +        -e "s;[\ \t][\ \t]*qt-x11-opensource-src-%{version};%{l_prefix};g" \
    1.13 +        $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig/*
    1.14  
    1.15      #   explain nonstandard shared library placement
    1.16      ( echo "This OpenPKG Qt build is using the with_shared option."

mercurial