SHA256
1
0
forked from pool/tcpd

Accepting request 1004572 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1004572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpd?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2022-09-21 12:38:53 +00:00 committed by Git OBS Bridge
commit 3fc68e6879
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 5 14:42:10 UTC 2022 - Ludwig Nussel <lnussel@suse.de>
- use _libdir (boo#1191098)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 24 10:48:01 UTC 2022 - Andreas Schwab <schwab@suse.de> Wed Aug 24 10:48:01 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@ -146,18 +146,15 @@ install -d -m 755 %{buildroot}%{_includedir}
install -d -m 755 %{buildroot}%{_libdir} install -d -m 755 %{buildroot}%{_libdir}
install -d -m 755 %{buildroot}%{_sbindir} install -d -m 755 %{buildroot}%{_sbindir}
install -d -m 755 %{buildroot}%{_mandir}/man{1,3,5,8} install -d -m 755 %{buildroot}%{_mandir}/man{1,3,5,8}
install -d -m 755 %{buildroot}/%{_lib}
install -m 644 ip6utils.h tcpd.h %{buildroot}%{_includedir} install -m 644 ip6utils.h tcpd.h %{buildroot}%{_includedir}
install -m 644 libwrap.a %{buildroot}/%{_libdir} install -m 644 libwrap.a %{buildroot}/%{_libdir}
install -m 755 safe_finger tcpd tcpdchk tcpdmatch try-from %{buildroot}%{_sbindir} install -m 755 safe_finger tcpd tcpdchk tcpdmatch try-from %{buildroot}%{_sbindir}
install -m 644 hosts_access.3 %{buildroot}%{_mandir}/man3 install -m 644 hosts_access.3 %{buildroot}%{_mandir}/man3
install -m 644 hosts_access.5 hosts_options.5 %{buildroot}%{_mandir}/man5 install -m 644 hosts_access.5 hosts_options.5 %{buildroot}%{_mandir}/man5
install -m 644 tcpd.8 tcpdchk.8 tcpdmatch.8 %{buildroot}%{_mandir}/man8 install -m 644 tcpd.8 tcpdchk.8 tcpdmatch.8 %{buildroot}%{_mandir}/man8
install -m 644 shared/libwrap.so.0.%{version} %{buildroot}/%{_lib} install -m 644 shared/libwrap.so.0.%{version} %{buildroot}/%{_libdir}
cd %{buildroot}/%{_lib} ln -sf libwrap.so.0.%{version} %{buildroot}/%{_libdir}/libwrap.so.0
ln -sf libwrap.so.0.%{version} libwrap.so.0 ln -sf libwrap.so.0.%{version} %{buildroot}/%{_libdir}/libwrap.so
cd %{buildroot}%{_libdir}
ln -sf /%{_lib}/libwrap.so.0.%{version} libwrap.so
%post -n %{lname} -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
@ -172,7 +169,7 @@ ln -sf /%{_lib}/libwrap.so.0.%{version} libwrap.so
%files -n %{lname} %files -n %{lname}
%defattr(-,root,root) %defattr(-,root,root)
%doc DISCLAIMER %doc DISCLAIMER
%attr(755,root,root) /%{_lib}/libwrap.so.0* %attr(755,root,root) %{_libdir}/libwrap.so.0*
%files devel %files devel
%defattr(644,root,root,755) %defattr(644,root,root,755)