SPECS: resolvconf.spec - add sysconfig
glen
glen at pld-linux.org
Mon Nov 24 20:39:16 CET 2008
Author: glen Date: Mon Nov 24 19:39:15 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add sysconfig
---- Files affected:
SPECS:
resolvconf.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/resolvconf.spec
diff -u SPECS/resolvconf.spec:1.12 SPECS/resolvconf.spec:1.13
--- SPECS/resolvconf.spec:1.12 Mon Nov 24 20:26:00 2008
+++ SPECS/resolvconf.spec Mon Nov 24 20:39:10 2008
@@ -9,6 +9,7 @@
Source0: ftp://ftp.debian.org/debian/pool/main/r/resolvconf/%{name}_%{version}.tar.gz
# Source0-md5: 205919a6754c93f61c76cd8f851c81b3
Source1: %{name}.init
+Source2: %{name}.sysconfig
Patch0: %{name}-pld.patch
Requires: rc-scripts
BuildArch: noarch
@@ -39,7 +40,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/%{name}/run/interface,%{_libdir}/%{name},%{_sbindir},%{_mandir}/{ru/,}man{5,8}}
+install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_sysconfdir}/%{name}/run/interface,%{_libdir}/%{name},%{_sbindir},%{_mandir}/{ru/,}man{5,8}}
cp -a etc/%{name}/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
install bin/resolvconf $RPM_BUILD_ROOT%{_sbindir}
@@ -47,6 +48,7 @@
cp -a man/interface-order.5 $RPM_BUILD_ROOT%{_mandir}/man5
cp -a man/resolvconf.8 $RPM_BUILD_ROOT%{_mandir}/man8
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/run/resolv.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/run/enable-updates
@@ -58,6 +60,7 @@
%doc README
%attr(755,root,root) %{_sbindir}/resolvconf
%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
%dir %{_libdir}/resolvconf
%attr(755,root,root) %{_libdir}/resolvconf/list-records
%dir %{_sysconfdir}/%{name}
@@ -84,6 +87,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2008/11/24 19:39:10 glen
+- add sysconfig
+
Revision 1.12 2008/11/24 19:26:00 glen
- fix lib64 problem
- ghost more files for cleaner removal
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/resolvconf.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list