Track libpkgconf shared object major version
We want to be aware when the ABI breaks rather than accidentally having it slip through.
This commit is contained in:
parent
5d2464c091
commit
930106a935
@ -22,6 +22,9 @@
|
||||
# Search path for pc files for pkgconf
|
||||
%global pkgconf_libdirs %{_libdir}/pkgconfig:%{_datadir}/pkgconfig
|
||||
|
||||
# libpkgconf soversion major version
|
||||
%global libsomajor 4
|
||||
|
||||
Name: pkgconf
|
||||
Version: 1.9.4
|
||||
Release: 1%{?dist}
|
||||
@ -198,7 +201,7 @@ rm -rf %{buildroot}%{_datadir}/aclocal
|
||||
|
||||
%files -n lib%{name}
|
||||
%license COPYING
|
||||
%{_libdir}/lib%{name}*.so.*
|
||||
%{_libdir}/lib%{name}*.so.%{libsomajor}{,.*}
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%{_libdir}/lib%{name}*.so
|
||||
|
Loading…
Reference in New Issue
Block a user