[packages/etckeeper] up to 1.3, uses which now to find mktemp/tempfile

glen glen at pld-linux.org
Thu May 9 10:15:26 CEST 2013


commit 8980975c8f70ef7edd4b863a55012417304b1cd7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 9 11:15:10 2013 +0300

    up to 1.3, uses which now to find mktemp/tempfile

 etckeeper.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/etckeeper.spec b/etckeeper.spec
index 7ba44df..5577194 100644
--- a/etckeeper.spec
+++ b/etckeeper.spec
@@ -3,12 +3,12 @@
 # - Subpackages for backends (git, etc)
 Summary:	Store /etc in a SCM system (git, mercurial, bzr or darcs)
 Name:		etckeeper
-Version:	1.2
+Version:	1.3
 Release:	0.29
 License:	GPL v2+
 Group:		Applications/System
-Source0:	http://ftp.debian.org/debian/pool/main/e/etckeeper/%{name}_%{version}.tar.gz
-# Source0-md5:	b3d3b3162616a465e6b0f68dbd92dfc2
+Source0:	https://github.com/joeyh/etckeeper/archive/%{version}.tar.gz
+# Source0-md5:	d2e12ccdbc01fb4a48d9ea39990215fd
 Source1:	poldek.sh
 Patch1:		use-libdir.patch
 Patch2:		update-ignore.patch
@@ -21,6 +21,7 @@ Requires:	findutils
 Requires:	mktemp
 Requires:	perl-base
 Requires:	sed >= 4.0
+Requires:	which
 %if "%{pld_release}" != "ac"
 Requires:	poldek >= 0.30.0-1.rc7.4
 %endif
@@ -76,9 +77,7 @@ Obsoletes:	etckeeper-bash-completions
 Bash completion routines for etckeeper.
 
 %prep
-%setup -qc
-mv %{name} .tmp
-mv .tmp/* .
+%setup -q
 %patch1 -p1
 %patch2 -p1
 %{__sed} -i -e '
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/etckeeper.git/commitdiff/8980975c8f70ef7edd4b863a55012417304b1cd7



More information about the pld-cvs-commit mailing list