diff --git a/exiv2.spec b/exiv2.spec index 8a86c04..207ac32 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -100,7 +100,7 @@ rm -fv %{buildroot}%{_libdir}/libexiv2.la %check export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}" -test "$(pkg-config --modversion exiv2)" = "%{version}" +test "$(pkg-config --modversion exiv2)" = "%{version}.2" test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}" test -x %{buildroot}%{_libdir}/libexiv2.so