internal version used for soname too
This commit is contained in:
parent
94e5bab980
commit
043bbfb25c
@ -4,6 +4,7 @@
|
||||
Summary: Exif and Iptc metadata manipulation library
|
||||
Name: exiv2
|
||||
Version: 0.27.2
|
||||
%global internal_ver %{version}.2
|
||||
Release: 0.2.%{beta}%{?dist}
|
||||
|
||||
License: GPLv2+
|
||||
@ -100,7 +101,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}.2"
|
||||
test "$(pkg-config --modversion exiv2)" = "%{internal_ver}"
|
||||
test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}"
|
||||
test -x %{buildroot}%{_libdir}/libexiv2.so
|
||||
|
||||
@ -117,7 +118,7 @@ test -x %{buildroot}%{_libdir}/libexiv2.so
|
||||
|
||||
%files libs
|
||||
%{_libdir}/libexiv2.so.27*
|
||||
%{_libdir}/libexiv2.so.%{version}
|
||||
%{_libdir}/libexiv2.so.%{internal_ver}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/exiv2/
|
||||
|
Loading…
Reference in New Issue
Block a user