public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10.3: Upgrade to 0.6.22 (#903584, #992158)
Date: Fri, 09 Oct 2026 15:56:06 GMT	[thread overview]
Message-ID: <179156136619.1.383611702593573287.rpms-duplicity-e15249fb707e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : e15249fb707e3d56d4ba051aa56728903e895a4d
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2013-12-26T00:33:19+01:00
Stats  : +29/-40 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/e15249fb707e3d56d4ba051aa56728903e895a4d?branch=epel10.3

Log:
Upgrade to 0.6.22 (#903584, #992158)

---
diff --git a/duplicity-0.6.17-python24.patch b/duplicity-0.6.17-python24.patch
deleted file mode 100644
index 1fcbcdd..0000000
--- a/duplicity-0.6.17-python24.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Patch by Robert Scheck <robert@fedoraproject.org> which makes duplicity >= 0.6.17 working by using the
-older Python 2.4, that doesn't support "as" and the "with" syntax. The bytestring conversion is a Python
-3 feature that has been backported to Python 2.6.
-
---- duplicity-0.6.17/duplicity/backends/_boto_multi.py			2011-11-25 20:20:19.000000000 +0100
-+++ duplicity-0.6.17/duplicity/backends/_boto_multi.py.python24		2011-12-26 14:07:07.000000000 +0100
-@@ -402,8 +402,11 @@
- 
-             for mp in bucket.get_all_multipart_uploads():
-                 if mp.id == multipart_id:
--                    with FileChunkIO(filename, 'r', offset=offset * bytes, bytes=bytes) as fd:
-+                    fd = FileChunkIO(filename, 'r', offset=offset * bytes, bytes=bytes)
-+                    try:
-                         mp.upload_part_from_file(fd, offset + 1, cb=_upload_callback)
-+                    finally:
-+                        fd.close()
-                     break
-         except Exception, e:
-             traceback.print_exc()
---- duplicity-0.6.17/duplicity/filechunkio.py				2011-11-25 20:20:19.000000000 +0100
-+++ duplicity-0.6.17/duplicity/filechunkio.py.python24			2011-12-26 14:10:07.000000000 +0100
-@@ -77,9 +77,9 @@
-         n = len(data)
-         try:
-             b[:n] = data
--        except TypeError as err:
-+        except TypeError, err:
-             import array
-             if not isinstance(b, array.array):
-                 raise err
--            b[:n] = array.array(b'b', data)
--        return n
-\ No newline at end of file
-+            b[:n] = array.array('b', data)
-+        return n

diff --git a/duplicity-0.6.22-documentation.patch b/duplicity-0.6.22-documentation.patch
new file mode 100644
index 0000000..26a7bc9
--- /dev/null
+++ b/duplicity-0.6.22-documentation.patch
@@ -0,0 +1,21 @@
+Patch by Robert Scheck <robert@fedoraproject.org> for duplicity >= 0.6.22 which removes the documentation
+files from the installation through duplicity setuptools. The duplicity.spec file will catch them up using
+%doc anyway.
+
+--- duplicity-0.6.22/setup.py						2013-08-22 15:30:09.000000000 +0200
++++ duplicity-0.6.22/setup.py.documentation				2013-12-26 00:16:43.000000000 +0100
+@@ -45,14 +45,6 @@
+ data_files = [('share/man/man1',
+                ['bin/duplicity.1',
+                 'bin/rdiffdir.1']),
+-              ('share/doc/duplicity-%s' % version_string,
+-               ['COPYING',
+-                'README',
+-                'README-REPO',
+-                'README-LOG',
+-                'tarfile-LICENSE',
+-                'tarfile-CHANGES',
+-                'CHANGELOG']),
+               ]
+ 
+ assert os.path.exists("po"), "Missing 'po' directory."

diff --git a/duplicity.spec b/duplicity.spec
index 9a85f60..39dc703 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -2,13 +2,13 @@
 
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 Name:           duplicity
-Version:        0.6.21
-Release:        2%{?dist}
+Version:        0.6.22
+Release:        1%{?dist}
 License:        GPLv2+
 Group:          Applications/Archiving
 URL:            http://www.nongnu.org/duplicity/
 Source:         http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz
-Patch0:         duplicity-0.6.17-python24.patch
+Patch0:         duplicity-0.6.22-documentation.patch
 Requires:       python-GnuPGInterface >= 0.3.2, gnupg >= 1.0.6
 Requires:       openssh-clients, ncftp >= 3.1.9, rsync, python-boto >= 0.9d
 BuildRequires:  python-devel >= 2.4, librsync-devel >= 0.9.6
@@ -29,7 +29,7 @@ but not hard links.
 
 %prep
 %setup -q
-%patch0 -p1 -b .python24
+%patch0 -p1 -b .documentation
 
 %build
 %{__python} setup.py build
@@ -44,7 +44,7 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc CHANGELOG COPYING README
 %{_bindir}/rdiffdir
 %{_bindir}/%{name}
@@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/%{name}*
 
 %changelog
+* Wed Dec 25 2013 Robert Scheck <robert@fedoraproject.org> 0.6.22-1
+- Upgrade to 0.6.22 (#903584, #992158)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 

                 reply	other threads:[~2026-10-09 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179156136619.1.383611702593573287.rpms-duplicity-e15249fb707e@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox