Name: etc-update Version: 20020731 Release: 5mdk Summary: Mergemaster for Linux Source: %name-%version.tar.bz2 Patch: etc-update-foo.patch.bz2 URL: http://www.xs4all.nl/~hanb/software License: GPL Group: System/Configuration/Packaging BuildArch: noarch BuildRoot: %_tmppath/%name-%version-buildroot %description After an update with urpmi rpm makes .rpmnew copies of all files it knows it should not overwrite. Of course you have to look at all those files and merge any changes. A tedious and much forgotten job. On FreeBSD there is mergemaster to do the job. It recently got ported to OpenBSD and also to Gentoo. Now there is also a Linux version (not a port) :) %prep rm -rf $RPM_BUILD_ROOT %setup -q %patch -p1 -b .foo %install mkdir -p $RPM_BUILD_ROOT{%_sysconfdir,%_bindir} install -m 755 %name $RPM_BUILD_ROOT%_bindir install -m 644 %{name}rc $RPM_BUILD_ROOT%_sysconfdir %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc INSTALL CHANGES %config(noreplace) %_sysconfdir/%{name}rc %_bindir/%name %changelog * Tue Oct 28 2003 Götz Waschk <waschk@linux-mandrake.com> 20020731-5mdk - rebuild to fix broken changelog * Sun Sep 07 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 20020731-3mdk - add fixes from Luca Berra <bluca@vodka.it> * Thu Aug 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 20020731-2mdk - some %%instal simplification * Wed Jul 31 2002 Han Boetes <han@linux-mandrake.com> 20020731-1mdk - Bump to updated version from the maintainer. lol - Removed obsoleted patch * Tue May 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 20020214-2mdk - rpmlint fixes - force mv and cp by default [Patch0] - gcc-3.1 build :-) * Sat Feb 16 2002 Guillaume Rousse <g.rousse@linux-mandrake.org> 20020214-1mdk - first mdk release