From db29b51408eb6d386c79e38b530a48b9c8e6a408 Mon Sep 17 00:00:00 2001 From: Vyacheslav Barinov Date: Thu, 21 Aug 2014 09:17:19 +0400 Subject: [PATCH] Fixed pkg-config file to provide valid version info Now $version is not expanded and RPM provides the tag pkgconfig(uw-imap-toolkit) = $version Change-Id: I2a3bec3061aa080fa3ae4401b4bf03bfafcef821 Signed-off-by: Vyacheslav Barinov --- packaging/uw-imap-toolkit.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/uw-imap-toolkit.spec b/packaging/uw-imap-toolkit.spec index 1e7396a..3775c07 100644 --- a/packaging/uw-imap-toolkit.spec +++ b/packaging/uw-imap-toolkit.spec @@ -48,6 +48,7 @@ cp %{SOURCE1001} %{SOURCE1002} . make %{?jobs:-j%jobs} +find -name '*.pc' -exec sed -i -e 's/\$version/%{version}/g' {} \; %install -- 2.7.4