fix symlinks to real libwrap.so.ver [release 7.6.31-2mamba;Sat Nov 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:21:34 +01:00
parent f91eba6ee0
commit 9a9946c9b4

View File

@ -2,7 +2,7 @@
%define patchver %(echo %version | cut -d. -f3) %define patchver %(echo %version | cut -d. -f3)
Name: tcp_wrappers Name: tcp_wrappers
Version: 7.6.31 Version: 7.6.31
Release: 1mamba Release: 2mamba
Summary: A security tool which acts as a wrapper for TCP daemons Summary: A security tool which acts as a wrapper for TCP daemons
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -75,9 +75,10 @@ sed -i "s|-lwrap|-lnsl -lwrap|" Makefile
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
for f in libwrap.so libwrap.so.0 libwrap.so.0.7.6; do install -D -m0755 shared/libwrap.so.0.7.6 %{buildroot}%{_libdir}/libwrap.so.0.7.6
install -D -m0755 shared/$f %{buildroot}%{_libdir}/$f ln -s libwrap.so.0.7.6 %{buildroot}%{_libdir}/libwrap.so.0
done ln -s libwrap.so.0.7.6 %{buildroot}%{_libdir}/libwrap.so
install -D -m0755 libwrap.a %{buildroot}%{_libdir}/libwrap.a install -D -m0755 libwrap.a %{buildroot}%{_libdir}/libwrap.a
install -D -m0644 tcpd.h %{buildroot}%{_includedir}/tcpd.h install -D -m0644 tcpd.h %{buildroot}%{_includedir}/tcpd.h
@ -131,6 +132,9 @@ done
%doc BLURB CHANGES README* %doc BLURB CHANGES README*
%changelog %changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6.31-2mamba
- fix symlinks to real libwrap.so.ver
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6.31-1mamba * Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6.31-1mamba
- update to 7.6.31 - update to 7.6.31
- rebuilt with debug package, debian patches, and specfile fixes - rebuilt with debug package, debian patches, and specfile fixes