[packages/etckeeper] add pld ignores to the list
glen
glen at pld-linux.org
Wed May 8 12:32:20 CEST 2013
commit d50be7d45638b39424843d56519dd3726cf71e72
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 8 13:27:10 2013 +0300
add pld ignores to the list
etckeeper.spec | 4 +++-
update-ignore.patch | 17 +++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/etckeeper.spec b/etckeeper.spec
index 6d2b9c3..dd78d6f 100644
--- a/etckeeper.spec
+++ b/etckeeper.spec
@@ -4,7 +4,7 @@
Summary: Store /etc in a SCM system (git, mercurial, bzr or darcs)
Name: etckeeper
Version: 1.1
-Release: 0.25
+Release: 0.26
License: GPL v2+
Group: Applications/System
Source0: http://ftp.debian.org/debian/pool/main/e/etckeeper/%{name}_%{version}.tar.gz
@@ -12,6 +12,7 @@ Source0: http://ftp.debian.org/debian/pool/main/e/etckeeper/%{name}_%{version}.t
Source1: poldek.sh
Patch0: type-mksh.patch
Patch1: use-libdir.patch
+Patch2: update-ignore.patch
URL: http://kitenet.net/~joey/code/etckeeper/
BuildRequires: bzr
BuildRequires: rpm-pythonprov
@@ -81,6 +82,7 @@ mv %{name} .tmp
mv .tmp/* .
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%{__sed} -i -e '
s|HIGHLEVEL_PACKAGE_MANAGER=apt|HIGHLEVEL_PACKAGE_MANAGER=poldek|;
s|LOWLEVEL_PACKAGE_MANAGER=dpkg|LOWLEVEL_PACKAGE_MANAGER=rpm|;
diff --git a/update-ignore.patch b/update-ignore.patch
new file mode 100644
index 0000000..e3ee9fa
--- /dev/null
+++ b/update-ignore.patch
@@ -0,0 +1,17 @@
+--- etckeeper-1.1/update-ignore.d/01update-ignore~ 2013-05-07 17:32:18.000000000 +0300
++++ etckeeper-1.1/update-ignore.d/01update-ignore 2013-05-07 17:39:45.992335328 +0300
+@@ -147,6 +147,14 @@
+ ignore "cups/subscriptions.conf.O"
+ ignore "fake-hwclock.data"
+ nl
++
++ comment "PLD Linux addons"
++ # generated
++ ignore "certs/ca-certificates.crt"
++
++ # rc-scripts
++ ignore "rc.d/init.d/*"
++ ignore "rc.d/rc0.d/[SK]*"
+
+ comment "editor temp files"
+ ignore "*~"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/etckeeper.git/commitdiff/d2b41a9d2e9289107d347dc23825e88bec89ba30
More information about the pld-cvs-commit
mailing list