- undo symlink stuff completely because they are problematic See Bug
#447135 for details.
This commit is contained in:
parent
8c1d70ba56
commit
a0893e5f23
12
tftp.spec
12
tftp.spec
@ -3,7 +3,7 @@
|
||||
Summary: The client for the Trivial File Transfer Protocol (TFTP)
|
||||
Name: tftp
|
||||
Version: %{tftp_hpa_version}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Internet
|
||||
Source0: http://www.kernel.org/pub/software/network/tftp/tftp-hpa-%{tftp_hpa_version}.tar.gz
|
||||
@ -64,17 +64,11 @@ touch -r tftp-xinetd ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp
|
||||
|
||||
%post server
|
||||
/sbin/service xinetd reload > /dev/null 2>&1 || :
|
||||
if [ ! -e /tftpboot ]; then
|
||||
ln -s %{_localstatedir}/lib/tftpboot /
|
||||
fi
|
||||
|
||||
%postun server
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/service xinetd reload > /dev/null 2>&1 || :
|
||||
fi
|
||||
if [ -h /tftpboot ]; then
|
||||
rm -f /tftpboot
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
@ -94,6 +88,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Wed May 21 2008 Warren Togami <wtogami@redhat.com. - 0.48-6
|
||||
- undo symlink stuff completely because they are problematic
|
||||
See Bug #447135 for details.
|
||||
|
||||
* Wed May 21 2008 Martin Nagy <mnagy@redhat.com> - 0.48-5
|
||||
- fix troubles caused by added symlink
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user