From 865d9e710670b08df23298fe628441989c9accb0 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Jan 11 2019 21:38:38 +0000 Subject: add %%check for pkgconfig libdir fix --- 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