- fix absolute symlinks and character encoding for RELNOTES (#225909)

This commit is contained in:
Martin Nagy 2008-01-14 15:26:10 +00:00
parent 6e0f0f6a05
commit e9bef139aa

View File

@ -1,7 +1,7 @@
Summary: Network monitoring tools including ping Summary: Network monitoring tools including ping
Name: iputils Name: iputils
Version: 20070202 Version: 20070202
Release: 5%{?dist} Release: 6%{?dist}
License: BSD License: BSD
URL: http://www.skbuff.net/iputils URL: http://www.skbuff.net/iputils
Group: System Environment/Daemons Group: System Environment/Daemons
@ -95,12 +95,15 @@ install -c doc/ping.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
install -c doc/rdisc.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/ install -c doc/rdisc.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
install -c doc/tracepath.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/ install -c doc/tracepath.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
install -c ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/ install -c ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
ln -s %{_mandir}/man8/ping.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/ping6.8.gz ln -s ping.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/ping6.8.gz
ln -s %{_mandir}/man8/tracepath.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/tracepath6.8.gz ln -s tracepath.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/tracepath6.8.gz
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
install -m 755 %SOURCE3 ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/rdisc install -m 755 %SOURCE3 ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/rdisc
iconv -f ISO88591 -t UTF8 RELNOTES -o RELNOTES.tmp
mv -f RELNOTES.tmp RELNOTES
%post %post
/sbin/chkconfig --add rdisc /sbin/chkconfig --add rdisc
@ -147,6 +150,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sysconfdir}/rc.d/init.d/rdisc %{_sysconfdir}/rc.d/init.d/rdisc
%changelog %changelog
* Mon Jan 14 2008 Martin Nagy <mnagy@redhat.com> - 20070202-6
- fix absolute symlinks and character encoding for RELNOTES (#225909)
* Fri Sep 14 2007 Martin Bacovsky <mbacovsk@redhat.com> - 20070202-5 * Fri Sep 14 2007 Martin Bacovsky <mbacovsk@redhat.com> - 20070202-5
- rebuild - rebuild