rpms/tftp/devel tftp.spec,1.43,1.44

Martin Nagy (mnagy) fedora-extras-commits at redhat.com
Tue May 20 10:12:37 UTC 2008


Author: mnagy

Update of /cvs/extras/rpms/tftp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31319

Modified Files:
	tftp.spec 
Log Message:
* Tue May 20 2008 Martin Nagy <mnagy at redhat.com> - 0.48-3
- add symlink to /var/lib/tftpboot



Index: tftp.spec
===================================================================
RCS file: /cvs/extras/rpms/tftp/devel/tftp.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- tftp.spec	3 Mar 2008 16:36:10 -0000	1.43
+++ tftp.spec	20 May 2008 10:11:42 -0000	1.44
@@ -3,7 +3,7 @@
 Summary: The client for the Trivial File Transfer Protocol (TFTP)
 Name: tftp
 Version: %{tftp_hpa_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: Applications/Internet
 Source0: http://www.kernel.org/pub/software/network/tftp/tftp-hpa-%{tftp_hpa_version}.tar.gz
@@ -55,9 +55,10 @@
 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
 mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
 mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/tftpboot
+ln -s %{_localstatedir}/lib/tftpboot ${RPM_BUILD_ROOT}/tftpboot
 
 make INSTALLROOT=${RPM_BUILD_ROOT} SBINDIR=%{_sbindir} MANDIR=%{_mandir} INSTALL='install -p' install
-install -m755 -d -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/ ${RPM_BUILD_ROOT}/tftpboot
+install -m755 -d -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/ ${RPM_BUILD_ROOT}%{_localstatedir}/lib/tftpboot
 sed -e 's:/var:%{_localstatedir}:' -e 's:/usr/sbin:%{_sbindir}:' \
  tftp-xinetd > ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp
 touch -r tftp-xinetd ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp
@@ -84,10 +85,14 @@
 %doc README* CHANGES
 %config(noreplace) %{_sysconfdir}/xinetd.d/tftp
 %dir %{_localstatedir}/lib/tftpboot
+/tftpboot
 %{_sbindir}/in.tftpd
 %{_mandir}/man8/*
 
 %changelog
+* Tue May 20 2008 Martin Nagy <mnagy at redhat.com> - 0.48-3
+- add symlink to /var/lib/tftpboot
+
 * Mon Mar 03 2008 Martin Nagy <mnagy at redhat.com> - 0.48-2
 - changed description (#234099)
 




More information about the fedora-extras-commits mailing list