Author: glen Date: Mon Nov 26 23:48:23 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - perms and fixes
---- Files affected: SPECS: resolvconf.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/resolvconf.spec diff -u SPECS/resolvconf.spec:1.5 SPECS/resolvconf.spec:1.6 --- SPECS/resolvconf.spec:1.5 Mon Nov 26 23:38:06 2007 +++ SPECS/resolvconf.spec Tue Nov 27 00:48:18 2007 @@ -2,11 +2,13 @@ Summary: nameserver information handler Name: resolvconf Version: 1.37 -Release: 0.1 +Release: 0.6 License: GPL v2 Group: Applications Source0: ftp://ftp.debian.org/debian/pool/main/r/resolvconf/%{name}_%{version}.tar.gz # Source0-md5: d6aec9e204674de97b272384305eb320 +Source1: %{name}.init +Patch0: %{name}-pld.patch Requires: rc-scripts BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -17,16 +19,22 @@ Resolvconf is a framework for keeping track of the system's information about currently available nameservers. It sets itself up as the intermediary between programs that supply nameserver -information and applications that need nameserver information. +information and programs that use nameserver information. %prep %setup -q +%patch0 -p1 iconv -fKOI8R -tutf8 < man/interface-order.ru.5 > man/interface-order.ru-utf8.5 iconv -fKOI8R -tutf8 < man/resolvconf.ru.8 > man/resolvconf.ru-utf8.8 +%{__sed} -i -e s,readlink,resolvesymlink, etc/resolvconf/update.d/libc +touch etc/resolvconf/resolv.conf.d/tail + +# cleanup backups after patching +find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/run,%{_libdir}/%{name},%{_sbindir},%{_mandir}/{ru/,}man{5,8}} +install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/%{name}/run,%{_libdir}/%{name},%{_sbindir},%{_mandir}/{ru/,}man{5,8}} cp -a etc/%{name}/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name} install bin/resolvconf $RPM_BUILD_ROOT%{_sbindir} install bin/list-records $RPM_BUILD_ROOT%{_libdir}/%{name} @@ -34,6 +42,7 @@ cp -a man/resolvconf.8 $RPM_BUILD_ROOT%{_mandir}/man8 cp -a man/interface-order.ru-utf8.5 $RPM_BUILD_ROOT%{_mandir}/ru/man5/interface-order.5 cp -a man/resolvconf.ru-utf8.8 $RPM_BUILD_ROOT%{_mandir}/ru/man8/resolvconf.8 +install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -42,18 +51,21 @@ %defattr(644,root,root,755) %doc README %attr(755,root,root) %{_sbindir}/resolvconf +%attr(754,root,root) /etc/rc.d/init.d/%{name} %dir %{_libdir}/resolvconf %attr(755,root,root) %{_libdir}/resolvconf/list-records %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/resolv.conf.d %dir %{_sysconfdir}/%{name}/update.d +%dir %{_sysconfdir}/%{name}/update-libc.d %dir %{_sysconfdir}/%{name}/run %{_sysconfdir}/%{name}/interface-order %{_sysconfdir}/%{name}/resolv.conf.d/base %{_sysconfdir}/%{name}/resolv.conf.d/head -%{_sysconfdir}/%{name}/update.d/bind -%{_sysconfdir}/%{name}/update.d/dnscache -%{_sysconfdir}/%{name}/update.d/libc +%{_sysconfdir}/%{name}/resolv.conf.d/tail +%attr(755,root,root) %{_sysconfdir}/%{name}/update.d/bind +%attr(755,root,root) %{_sysconfdir}/%{name}/update.d/dnscache +%attr(755,root,root) %{_sysconfdir}/%{name}/update.d/libc %{_mandir}/man5/interface-order.5* %{_mandir}/man8/resolvconf.8* %lang(ru) %{_mandir}/ru/man5/interface-order.5* @@ -65,6 +77,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2007-11-26 23:48:18 glen +- perms and fixes + Revision 1.5 2007-11-26 22:38:06 glen - package run dir ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/resolvconf.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
