Репозиторий Sisyphus
Последнее обновление: 16 июня 2019 | Пакетов: 17683 | Посещений: 13990230
en ru br
Репозитории ALT
5.1: 0.50-alt5.M51.1
4.1: 0.10-alt2

Группа :: Разработка/Прочее
Пакет: etckeeper

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: etckeeper
Version: 1.18.7
Release: alt1

Summary: Etckeeper help to keep your /etc directory in VCS repository
License: GPL2+
Group: Development/Other
Url: http://etckeeper.branchable.com
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildArch: noarch
AutoReq: yes,noshell
Requires: coreutils diffutils findutils grep sh
Requires: git-core >= 1.6.0
Requires: perl-base
Obsoletes: %name-origin < %version-%release

Packager: Evgenii Terechkov <evg at altlinux.org>

etckeeper is a collection of tools to let /etc be stored in a VCS
repository. It hooks into apt/yum/packman/etc to automatically commit
changes made to /etc during package upgrades. It's quite modular and
configurable, while also being simple to use if you understand the
basics of working with VCS.

%patch -p1

make install DESTDIR=%buildroot
install -D debian/cron.daily %buildroot%_sysconfdir/cron.daily/%name

# We dont want bzr now:

rm -rf %buildroot%_libdir/python*
# There is no cruft package for ALT:
rm -rf %buildroot%_sysconfdir/cruft

mv -v %buildroot%_sysconfdir/apt/apt.conf.d/05%name %buildroot%_sysconfdir/apt/apt.conf.d/%name.conf

if [ -e %_sysconfdir/.git/hooks/pre-commit ] && egrep '^(/us[rb]/s?bin/)?%name' %_sysconfdir/.git/hooks/pre-commit >/dev/null 2>&1; then
echo "Replacing path to etckeeper in %_sysconfdir/.git/hooks/pre-commit"
sed -i 's!^/usr/sbin/etckeeper!etckeeper!;s!^/usr/bin/etckeeper!etckeeper!;s!^/usb/sbin/etckeeper!etckeeper!' %_sysconfdir/.git/hooks/pre-commit

%config(noreplace) %_sysconfdir/%name/%name.conf
%doc README.md


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin