# TODO:
# - Subpackages for yum and apt plugins
-# - Subpackages for backends (git, etc)
+# - Subpackages for backends (darcs, git, hg)
Summary: Store /etc in a SCM system (git, mercurial, bzr or darcs)
Name: etckeeper
-Version: 1.4
+Version: 1.10
Release: 1
License: GPL v2+
Group: Applications/System
-Source0: https://github.com/joeyh/etckeeper/archive/%{version}.tar.gz
-# Source0-md5: ab5cea9cc62ffe1bcac7c4e0b5cad516
+Source0: https://github.com/joeyh/etckeeper/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: a89a6d4afb92d0a5a64b60f693fe64f9
Source1: poldek.sh
Patch1: use-libdir.patch
Patch2: update-ignore.patch
%attr(755,root,root) %{_poldeklibdir}/%{name}.sh
%dir %attr(750,root,root) %{_localstatedir}/cache/%{name}
+# subpackages
+%exclude /lib/etckeeper/commit.d/30bzr-add
+
%files bzr
%defattr(644,root,root,755)
+/lib/etckeeper/commit.d/30bzr-add
%dir %{py_sitescriptdir}/bzrlib
%dir %{py_sitescriptdir}/bzrlib/plugins
%dir %{py_sitescriptdir}/bzrlib/plugins/%{name}