packages: duplicity/duplicity.spec - updated to 0.6.13

megabajt megabajt at pld-linux.org
Sun Apr 24 11:58:18 CEST 2011


Author: megabajt                     Date: Sun Apr 24 09:58:17 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.6.13

---- Files affected:
packages/duplicity:
   duplicity.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: packages/duplicity/duplicity.spec
diff -u packages/duplicity/duplicity.spec:1.34 packages/duplicity/duplicity.spec:1.35
--- packages/duplicity/duplicity.spec:1.34	Mon Sep 27 20:18:26 2010
+++ packages/duplicity/duplicity.spec	Sun Apr 24 11:58:12 2011
@@ -3,24 +3,25 @@
 Summary:	Untrusted/encrypted backup using rsync algorithm
 Summary(pl.UTF-8):	Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
 Name:		duplicity
-Version:	%{mainver}.10
+Version:	%{mainver}.13
 Release:	1
-License:	GPL
+License:	GPL v2
 Group:		Applications/Archiving
 Source0:	http://code.launchpad.net/duplicity/%{mainver}-series/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5:	8878d3b63fcba1b7233e11c5829b969c
+# Source0-md5:	b3d627f35fc527b00121925840d5cca7
 Patch0:		%{name}-pexpect.patch
 Patch1:		%{name}-backend-search.patch
 URL:		http://www.nongnu.org/duplicity/
 BuildRequires:	librsync-devel >= 0.9.6
-BuildRequires:	python-devel >= 2.2.1
+BuildRequires:	python-devel >= 1:2.3
 BuildRequires:	python-modules
 BuildRequires:	rpm-pythonprov
 Requires:	gnupg
-Requires:	python >= 2.2
+Requires:	python >= 1:2.3
 Requires:	python-gnupg >= 0.3.2
 Requires:	python-modules
 Requires:	python-pexpect >= 2.1
+Suggests:	lftp
 Suggests:	ncftp
 Suggests:	python-boto >= 0.9d
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,18 +54,20 @@
 %patch1 -p1
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
-# Remove *.py files. We don't package them.
-find $RPM_BUILD_ROOT%{py_sitedir}/%{name} -type f -name '*.py' -print0 | xargs -0 rm -f
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
 
 # Remove %{_datadir}/locale/io/LC_MESSAGES. It's not yet supported.
 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io
 
+%py_postclean
+
 %find_lang %{name}
 
 %clean
@@ -90,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2011/04/24 09:58:12  megabajt
+- updated to 0.6.13
+
 Revision 1.34  2010/09/27 18:18:26  qwiat
 - updated to 0.6.10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/duplicity/duplicity.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list