Fix for differing so-versions

This commit is contained in:
Björn Esser 2019-06-25 20:11:52 +02:00
parent d77ee4b99d
commit 44fab225f9
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -10,8 +10,10 @@
%if 0%{?bootstrap}
%global version_old 1.8.2
%global iptc_so_ver_old 0
%global ipXtc_so_ver_old 0
%endif
%global iptc_so_ver 2
%global iptc_so_ver 0
%global ipXtc_so_ver 2
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities
@ -361,9 +363,11 @@ fi
%ghost %{_sbindir}/ip6tables-save
%files libs
%{_libdir}/libip*tc.so.%{iptc_so_ver}*
%{_libdir}/libiptc.so.%{iptc_so_ver}*
%{_libdir}/libip{4,6}tc.so.%{ipXtc_so_ver}*
%if 0%{?bootstrap}
%{_libdir}/libip*tc.so.%{iptc_so_ver_old}*
%{_libdir}/libiptc.so.%{iptc_so_ver_old}*
%{_libdir}/libip{4,6}tc.so.%{ipXtc_so_ver_old}*
%endif
%{_libdir}/libxtables.so.12*