Группа :: Система/Основа
Пакет: etc-update
Главная Изменения Спек Патчи Загрузить Bugs and FR
Summary: Mergemaster for Linux
Name: etc-update
Version: 20020731
Release: alt0.M24.2
Source0: %name-%version.tar.bz2
Patch0: %name-user.patch
Url: http://www.xs4all.nl/~hanb/software
License: GPL
Group: System/Base
BuildArch: noarch
Requires: setup
%description
After an update with up2date/apt/yum/rpm 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
%setup -q
%patch0 -p1
%__cat << EOF > README.ALT
Following variables may be (re)difined in /e/%{name}rc:
configdirs (default is /etc) - space separated list of dirs, where
*.rpm{save,old,new) files located (along with original files).
Sysadmin may define list of system wide and user-specific dirs.
runtimedir (default is \$TMPDIR) - temporary dir (/tmp if \$TMPDIR is
undefined). Usualy may be omited.
Additionaly, user may specify list of dirs as command-line arguments
(all of them must be writable for him).
EOF
%install
%__mkdir_p %buildroot{%_sysconfdir,%_bindir}
%__install -m 755 %name %buildroot%_bindir
%__install -m 644 %{name}rc %buildroot%_sysconfdir
%files
%config(noreplace) %_sysconfdir/*
%_bindir/*
%doc INSTALL CHANGES README.ALT
%changelog
…
Полный changelog можно просмотреть здесь
Name: etc-update
Version: 20020731
Release: alt0.M24.2
Source0: %name-%version.tar.bz2
Patch0: %name-user.patch
Url: http://www.xs4all.nl/~hanb/software
License: GPL
Group: System/Base
BuildArch: noarch
Requires: setup
%description
After an update with up2date/apt/yum/rpm 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
%setup -q
%patch0 -p1
%__cat << EOF > README.ALT
Following variables may be (re)difined in /e/%{name}rc:
configdirs (default is /etc) - space separated list of dirs, where
*.rpm{save,old,new) files located (along with original files).
Sysadmin may define list of system wide and user-specific dirs.
runtimedir (default is \$TMPDIR) - temporary dir (/tmp if \$TMPDIR is
undefined). Usualy may be omited.
Additionaly, user may specify list of dirs as command-line arguments
(all of them must be writable for him).
EOF
%install
%__mkdir_p %buildroot{%_sysconfdir,%_bindir}
%__install -m 755 %name %buildroot%_bindir
%__install -m 644 %{name}rc %buildroot%_sysconfdir
%files
%config(noreplace) %_sysconfdir/*
%_bindir/*
%doc INSTALL CHANGES README.ALT
%changelog
…
Полный changelog можно просмотреть здесь