SPECS: resolvconf.spec - fix lib64 problem - ghost more files for cleaner r...

glen glen at pld-linux.org
Mon Nov 24 20:26:05 CET 2008


Author: glen                         Date: Mon Nov 24 19:26:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix lib64 problem
- ghost more files for cleaner removal

---- Files affected:
SPECS:
   resolvconf.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/resolvconf.spec
diff -u SPECS/resolvconf.spec:1.11 SPECS/resolvconf.spec:1.12
--- SPECS/resolvconf.spec:1.11	Mon Nov 24 19:57:43 2008
+++ SPECS/resolvconf.spec	Mon Nov 24 20:26:00 2008
@@ -3,9 +3,9 @@
 Summary(pl.UTF-8):	Program obsługujący informacje o serwerach nazw
 Name:		resolvconf
 Version:	1.42
-Release:	1
+Release:	2
 License:	GPL v2
-Group:		Applications
+Group:		Base
 Source0:	ftp://ftp.debian.org/debian/pool/main/r/resolvconf/%{name}_%{version}.tar.gz
 # Source0-md5:	205919a6754c93f61c76cd8f851c81b3
 Source1:	%{name}.init
@@ -15,6 +15,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_exec_prefix	/
+%define		_libdir			/lib
 
 %description
 Resolvconf is a framework for keeping track of the system's
@@ -31,7 +32,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%{__sed} -i -e s,readlink,resolvesymlink, etc/resolvconf/update.d/libc
 touch etc/resolvconf/resolv.conf.d/tail
 
 # cleanup backups after patching
@@ -39,7 +39,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/%{name}/run,%{_libdir}/%{name},%{_sbindir},%{_mandir}/{ru/,}man{5,8}}
+install -d $RPM_BUILD_ROOT{/etc/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 +47,8 @@
 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}
+touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/run/resolv.conf
+touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/run/enable-updates
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -63,6 +65,9 @@
 %dir %{_sysconfdir}/%{name}/update.d
 %dir %{_sysconfdir}/%{name}/update-libc.d
 %dir %{_sysconfdir}/%{name}/run
+%dir %{_sysconfdir}/%{name}/run/interface
+%ghost %{_sysconfdir}/%{name}/run/resolv.conf
+%ghost %{_sysconfdir}/%{name}/run/enable-updates
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/interface-order
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/resolv.conf.d/base
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/resolv.conf.d/head
@@ -79,6 +84,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008/11/24 19:26:00  glen
+- fix lib64 problem
+- ghost more files for cleaner removal
+
 Revision 1.11  2008/11/24 18:57:43  glen
 - update to 1.42
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/resolvconf.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list