rpms/tcp_wrappers/devel tcp_wrappers.spec,1.33,1.34

Tomas Janousek (tjanouse) fedora-extras-commits at redhat.com
Tue Oct 16 16:13:14 UTC 2007


Author: tjanouse

Update of /cvs/pkgs/rpms/tcp_wrappers/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31163

Modified Files:
	tcp_wrappers.spec 
Log Message:
* Tue Oct 16 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-51
- review changes



Index: tcp_wrappers.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcp_wrappers/devel/tcp_wrappers.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- tcp_wrappers.spec	24 Aug 2007 09:05:01 -0000	1.33
+++ tcp_wrappers.spec	16 Oct 2007 16:12:42 -0000	1.34
@@ -1,7 +1,7 @@
-Summary: A security tool which acts as a wrapper for TCP daemons.
+Summary: A security tool which acts as a wrapper for TCP daemons
 Name: tcp_wrappers
 Version: 7.6
-Release: 50%{?dist}
+Release: 51%{?dist}
 
 %define LIB_MAJOR 0
 %define LIB_MINOR 7
@@ -35,7 +35,7 @@
 Patch22: tcp_wrappers_7.6-249430.patch
 # required by sin_scope_id in ipv6 patch
 BuildRequires: glibc-devel >= 2.2		
-BuildRoot: %{_tmppath}/%{name}-root
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 Requires: tcp_wrappers-libs = %{version}-%{release}
 Obsoletes: tcp_wrappers < 7.6-41
 
@@ -50,7 +50,7 @@
 This version also supports IPv6.
 
 %package libs
-Summary: tcp_wrappers libraries.
+Summary: tcp_wrappers libraries
 Group: System Environment/Libraries
 Obsoletes: tcp_wrappers < 7.6-41
 
@@ -58,7 +58,7 @@
 tcp_wrappers-libs contains the libraries of the tcp_wrappers package.
 
 %package devel
-Summary: tcp_wrappers development libraries and headers.
+Summary: tcp_wrappers development libraries and headers
 Group: Development/Libraries
 Obsoletes: tcp_wrappers < 7.6-41
 Requires: tcp_wrappers-libs = %{version}-%{release}
@@ -103,16 +103,16 @@
 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{3,5,8}
 mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
 
-cp hosts_access.3 ${RPM_BUILD_ROOT}%{_mandir}/man3
-cp hosts_access.5 hosts_options.5 ${RPM_BUILD_ROOT}%{_mandir}/man5
-cp tcpd.8 tcpdchk.8 tcpdmatch.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
+install -p -m644 hosts_access.3 ${RPM_BUILD_ROOT}%{_mandir}/man3
+install -p -m644 hosts_access.5 hosts_options.5 ${RPM_BUILD_ROOT}%{_mandir}/man5
+install -p -m644 tcpd.8 tcpdchk.8 tcpdmatch.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
 ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.allow.5
 ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.deny.5
 #cp -a libwrap.a ${RPM_BUILD_ROOT}%{_libdir}
 cp -a libwrap.so* ${RPM_BUILD_ROOT}/%{_lib}
-cp tcpd.h ${RPM_BUILD_ROOT}%{_includedir}
+install -p -m644 tcpd.h ${RPM_BUILD_ROOT}%{_includedir}
 install -m755 safe_finger ${RPM_BUILD_ROOT}%{_sbindir}
-install -m711 tcpd ${RPM_BUILD_ROOT}%{_sbindir}
+install -m755 tcpd ${RPM_BUILD_ROOT}%{_sbindir}
 install -m755 try-from ${RPM_BUILD_ROOT}%{_sbindir}
 
 # XXX remove utilities that expect /etc/inetd.conf (#16059).
@@ -121,33 +121,36 @@
 rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdmatch.*
 rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdchk.*
 
-%post -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
 %{_sbindir}/*
 %{_mandir}/man8/*
 
 %files libs
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
 /%{_lib}/*.so.*
 %{_mandir}/man5/*
 
 %files devel
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_includedir}/*
 #%{_libdir}/*.a
 /%{_lib}/*.so
 %{_mandir}/man3/*
 
 %changelog
+* Tue Oct 16 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-51
+- review changes
+
 * Fri Aug 24 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-50
 - license tag update (and rebuild for BuildID, etc.)
 - include docs in the -libs subpackage, as it is the only one installed on most




More information about the fedora-extras-commits mailing list