SPECS: tcp_wrappers.spec - release 38 - moved libwrap.so.*.*.* to ...

baggins baggins at pld-linux.org
Tue Dec 27 16:46:48 CET 2005


Author: baggins                      Date: Tue Dec 27 15:46:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 38
- moved libwrap.so.*.*.* to /lib for portmap

---- Files affected:
SPECS:
   tcp_wrappers.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/tcp_wrappers.spec
diff -u SPECS/tcp_wrappers.spec:1.75 SPECS/tcp_wrappers.spec:1.76
--- SPECS/tcp_wrappers.spec:1.75	Sat Mar 26 20:18:57 2005
+++ SPECS/tcp_wrappers.spec	Tue Dec 27 16:46:43 2005
@@ -10,7 +10,7 @@
 Summary(uk):	Security wrapper ÄĚŃ tcp-ÄĹÍĎÎŚ×
 Name:		tcp_wrappers
 Version:	7.6
-Release:	37
+Release:	38
 License:	distributable
 Group:		Networking/Admin
 Source0:	ftp://ftp.porcupine.org/pub/security/%{name}_%{version}.tar.gz
@@ -189,12 +189,16 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/tcpd \
 	$RPM_BUILD_ROOT{%{_mandir}/man{3,5,8},%{_libdir}} \
-	$RPM_BUILD_ROOT{%{_prefix}/lib,%{_includedir},%{_sbindir}}
+	$RPM_BUILD_ROOT{/lib,%{_includedir},%{_sbindir}}
 
 %{__make} install \
 	PREFIX=$RPM_BUILD_ROOT%{_prefix} \
 	LIBDIR=$RPM_BUILD_ROOT%{_libdir} 
 
+mv $RPM_BUILD_ROOT%{_libdir}/libwrap.so.*.*.* $RPM_BUILD_ROOT/lib/
+ln -sf /lib/$(cd $RPM_BUILD_ROOT/lib ; echo libwrap.so.*.*.*) \
+        $RPM_BUILD_ROOT%{_libdir}/libwrap.so
+
 install	hosts_access.3			$RPM_BUILD_ROOT%{_mandir}/man3
 install {hosts_access,hosts_options}.5	$RPM_BUILD_ROOT%{_mandir}/man5
 install {tcpd,tcpdchk,tcpdmatch}.8	$RPM_BUILD_ROOT%{_mandir}/man8
@@ -232,7 +236,7 @@
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}/tcpd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tcpd/hosts.*
-%attr(755,root,root) %{_libdir}/libwrap.so.*.*
+%attr(755,root,root) /lib/libwrap.so.*.*
 %{_mandir}/man5/*
 
 %files -n libwrap-devel
@@ -252,6 +256,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2005/12/27 15:46:43  baggins
+- release 38
+- moved libwrap.so.*.*.* to /lib for portmap
+
 Revision 1.75  2005/03/26 19:18:57  mmazur
 - rel 37 for th
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tcp_wrappers.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list