From d71a6f1a1111a1f15aa6376698a283ebe45940f9 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Thu, 8 Mar 2007 14:41:55 +0000 Subject: [PATCH] - moved libwrap.so* to /lib - removed the static library libwrap.a --- tcp_wrappers.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/tcp_wrappers.spec b/tcp_wrappers.spec index bc115f8..16b832b 100644 --- a/tcp_wrappers.spec +++ b/tcp_wrappers.spec @@ -1,7 +1,7 @@ Summary: A security tool which acts as a wrapper for TCP daemons. Name: tcp_wrappers Version: 7.6 -Release: 42%{?dist} +Release: 42.1%{?dist} %define LIB_MAJOR 0 %define LIB_MINOR 7 @@ -87,7 +87,7 @@ make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR" LDF %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_includedir} -mkdir -p ${RPM_BUILD_ROOT}%{_libdir} +mkdir -p ${RPM_BUILD_ROOT}/%{_lib} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{3,5,8} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} @@ -96,8 +96,8 @@ cp hosts_access.5 hosts_options.5 ${RPM_BUILD_ROOT}%{_mandir}/man5 cp 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}%{_libdir} +#cp -a libwrap.a ${RPM_BUILD_ROOT}%{_libdir} +cp -a libwrap.so* ${RPM_BUILD_ROOT}/%{_lib} cp tcpd.h ${RPM_BUILD_ROOT}%{_includedir} install -m755 safe_finger ${RPM_BUILD_ROOT}%{_sbindir} install -m711 tcpd ${RPM_BUILD_ROOT}%{_sbindir} @@ -124,17 +124,21 @@ rm -rf ${RPM_BUILD_ROOT} %files libs %defattr(-,root,root) -%{_libdir}/*.so.* +/%{_lib}/*.so.* %{_mandir}/man5/* %files devel %defattr(-,root,root) %{_includedir}/* -%{_libdir}/*.a -%{_libdir}/*.so +#%{_libdir}/*.a +/%{_lib}/*.so %{_mandir}/man3/* %changelog +* Thu Mar 08 2007 Tomas Janousek - 7.6-42.1 +- moved libwrap.so* to /lib +- removed the static library libwrap.a + * Mon Mar 05 2007 Tomas Janousek - 7.6-42 - added Obsoletes field so that the upgrade goes cleanly - added dist tag