]> git.pld-linux.org Git - packages/duplicity.git/commitdiff
- rediff patches auto/th/duplicity-0.7.18.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Mar 2021 21:42:04 +0000 (22:42 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Mar 2021 21:42:04 +0000 (22:42 +0100)
- fix shebangs
- rel 2

duplicity-backend-search.patch
duplicity.spec

index aa9194a9c6ec72e055c8ae5407fbd25eeda1c7cc..cc3d3250f10811f6b31f38f834e1f77ada4a052c 100644 (file)
@@ -1,8 +1,9 @@
---- duplicity-0.6.08a-orig/duplicity/backend.py        2010-03-11 15:08:30.000000000 +0100
-+++ duplicity-0.6.08a/duplicity/backend.py     2010-03-11 17:13:41.195614937 +0100
-@@ -68,8 +68,8 @@
+diff -urNp -x '*.orig' duplicity-0.7.18.2.org/duplicity/backend.py duplicity-0.7.18.2/duplicity/backend.py
+--- duplicity-0.7.18.2.org/duplicity/backend.py        2017-11-23 14:07:34.000000000 +0100
++++ duplicity-0.7.18.2/duplicity/backend.py    2021-03-04 22:40:10.513136774 +0100
+@@ -91,8 +91,8 @@ def import_backends():
      files = os.listdir(path)
+     files.sort()
      for fn in files:
 -        if fn.endswith("backend.py"):
 -            fn = fn[:-3]
index 45b2a7fe5175aff02432f0d3abfa9e602859c031..cf159938fa5d62378751d6d75b8d0c9eaffefa55 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Untrusted/encrypted backup using rsync algorithm
 Summary(pl.UTF-8):     Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
 Name:          duplicity
 Version:       %{mainver}.18.2
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Applications/Archiving
 Source0:       http://code.launchpad.net/duplicity/%{mainver}-series/%{version}/+download/%{name}-%{version}.tar.gz
@@ -51,6 +51,10 @@ nie twarde dowiązania.
 %setup -q
 %patch0 -p1
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' \
+      bin/duplicity \
+      bin/rdiffdir \
+
 %build
 %py_build
 
This page took 0.103707 seconds and 4 git commands to generate.