- moved libwrap.so* to /lib
- removed the static library libwrap.a
This commit is contained in:
parent
d0bc814dea
commit
d71a6f1a11
@ -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
|
Name: tcp_wrappers
|
||||||
Version: 7.6
|
Version: 7.6
|
||||||
Release: 42%{?dist}
|
Release: 42.1%{?dist}
|
||||||
|
|
||||||
%define LIB_MAJOR 0
|
%define LIB_MAJOR 0
|
||||||
%define LIB_MINOR 7
|
%define LIB_MINOR 7
|
||||||
@ -87,7 +87,7 @@ make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR" LDF
|
|||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
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}%{_mandir}/man{3,5,8}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
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
|
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.allow.5
|
||||||
ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.deny.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.a ${RPM_BUILD_ROOT}%{_libdir}
|
||||||
cp -a libwrap.so* ${RPM_BUILD_ROOT}%{_libdir}
|
cp -a libwrap.so* ${RPM_BUILD_ROOT}/%{_lib}
|
||||||
cp tcpd.h ${RPM_BUILD_ROOT}%{_includedir}
|
cp tcpd.h ${RPM_BUILD_ROOT}%{_includedir}
|
||||||
install -m755 safe_finger ${RPM_BUILD_ROOT}%{_sbindir}
|
install -m755 safe_finger ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
install -m711 tcpd ${RPM_BUILD_ROOT}%{_sbindir}
|
install -m711 tcpd ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
@ -124,17 +124,21 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
/%{_lib}/*.so.*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.a
|
#%{_libdir}/*.a
|
||||||
%{_libdir}/*.so
|
/%{_lib}/*.so
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 08 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-42.1
|
||||||
|
- moved libwrap.so* to /lib
|
||||||
|
- removed the static library libwrap.a
|
||||||
|
|
||||||
* Mon Mar 05 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-42
|
* Mon Mar 05 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-42
|
||||||
- added Obsoletes field so that the upgrade goes cleanly
|
- added Obsoletes field so that the upgrade goes cleanly
|
||||||
- added dist tag
|
- added dist tag
|
||||||
|
Loading…
Reference in New Issue
Block a user