From 865d9e710670b08df23298fe628441989c9accb0 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 11 Jan 2019 15:38:38 -0600 Subject: [PATCH] add %%check for pkgconfig libdir fix --- exiv2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/exiv2.spec b/exiv2.spec index 3f99891..a3f594a 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -102,6 +102,7 @@ rm -fv %{buildroot}%{_libdir}/libexiv2.la %check export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig test "$(pkg-config --modversion exiv2)" = "%{version}" +test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}" test -x %{buildroot}%{_libdir}/libexiv2.so