diff options
-rw-r--r-- | etckeeper.spec | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/etckeeper.spec b/etckeeper.spec index cab99a0..34ae4af 100644 --- a/etckeeper.spec +++ b/etckeeper.spec @@ -1,6 +1,6 @@ Name: etckeeper Version: 0.33 -Release: 1%{?dist} +Release: 4%{?dist} Summary: store /etc in git, mercurial, bzr or darcs Group: System Tools @@ -36,6 +36,7 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +install -D debian/cron.daily $RPM_BUILD_ROOT/etc/cron.daily/etckeeper %clean @@ -43,16 +44,30 @@ rm -rf $RPM_BUILD_ROOT %post %{_sbindir}/etckeeper init -d /etc/ +mkdir -p %{_var}/cache/etckeeper %files %defattr(-,root,root,-) %doc GPL INSTALL TODO README %{_sbindir}/* %{_mandir}/* -/etc/* +# this isn't very clever and its a manaual process update. +# but it works +%config(noreplace) /etc/yum/pluginconf.d/etckeeper.conf +%config(noreplace) /etc/etckeeper/etckeeper.conf +/etc/etckeeper/*.d/* +/etc/cron.daily/etckeeper +/etc/bash_completion.d/etckeeper %{_prefix}/lib/* %changelog +* Fri Feb 27 2009 Jimmy Tang <jtang@tchpc.tcd.ie> - 0.33-4 +- fix up initial install to make directory in /var/cache/etckeeper +- install the etckeeper daily cron job +- define some config files that shouldn't be replaced, should the hooks +in commit.d, init.d etc... saved and not blown away? if so they can +defined as config files. etckeeper should record the changes anyway. + * Wed Feb 25 2009 Jimmy Tang <jtang@tchpc.tcd.ie> - 0.32-1 - yum etckeeper plugin is now apart of this package |