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
|
# Search path for pc files for pkgconf
|
||||||
%global pkgconf_libdirs %{_libdir}/pkgconfig:%{_datadir}/pkgconfig
|
%global pkgconf_libdirs %{_libdir}/pkgconfig:%{_datadir}/pkgconfig
|
||||||
|
|
||||||
|
# libpkgconf soversion major version
|
||||||
|
%global libsomajor 4
|
||||||
|
|
||||||
Name: pkgconf
|
Name: pkgconf
|
||||||
Version: 1.9.4
|
Version: 1.9.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -198,7 +201,7 @@ rm -rf %{buildroot}%{_datadir}/aclocal
|
|||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/lib%{name}*.so.*
|
%{_libdir}/lib%{name}*.so.%{libsomajor}{,.*}
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%{_libdir}/lib%{name}*.so
|
%{_libdir}/lib%{name}*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user