public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rahul Sundaram <sundaram@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10.3: Added runtime requirement to python-dropbox (#1048656)
Date: Fri, 09 Oct 2026 15:56:09 GMT	[thread overview]
Message-ID: <179156136938.1.8415784685055486726.rpms-duplicity-7ea7d9592ebe@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : 7ea7d9592ebeca7c37f0eefd7de30e4c5abc9144
Author : Rahul Sundaram <sundaram@fedoraproject.org>
Date   : 2014-01-17T15:19:05-05:00
Stats  : +35/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/7ea7d9592ebeca7c37f0eefd7de30e4c5abc9144?branch=epel10.3

Log:
Added runtime requirement to python-dropbox (#1048656)

---
diff --git a/duplicity-0.6.22-s3-bucket-root.patch b/duplicity-0.6.22-s3-bucket-root.patch
new file mode 100644
index 0000000..cda2f68
--- /dev/null
+++ b/duplicity-0.6.22-s3-bucket-root.patch
@@ -0,0 +1,32 @@
+--- duplicity-0.6.22/duplicity/backends/_boto_single.py	2013-07-19 22:38:23 +0000
++++ duplicity-0.6.22/duplicity/backends/_boto_single.py	2013-09-03 23:12:16 +0000
+@@ -202,8 +202,7 @@ 
+ 
+         if not remote_filename:
+             remote_filename = source_path.get_filename()
+-        key = self.storage_uri.new_key()
+-        key.key = self.key_prefix + remote_filename
++        key = self.bucket.new_key(self.key_prefix + remote_filename)
+ 
+         for n in range(1, globals.num_retries+1):
+             if n > 1:
+@@ -239,14 +238,16 @@ 
+         raise BackendException("Error uploading %s/%s" % (self.straight_url, remote_filename))
+ 
+     def get(self, remote_filename, local_path):
+-        key = self.storage_uri.new_key()
+-        key.key = self.key_prefix + remote_filename
+         for n in range(1, globals.num_retries+1):
+             if n > 1:
+                 # sleep before retry (new connection to a **hopeful** new host, so no need to wait so long)
+                 time.sleep(10)
+             log.Info("Downloading %s/%s" % (self.straight_url, remote_filename))
+             try:
++                key_name = self.key_prefix + remote_filename
++                key = self.bucket.get_key(key_name)
++                if key is None:
++                    raise BackendException("%s: key not found" % key_name)
+                 key.get_contents_to_filename(local_path.name)
+                 local_path.setdata()
+                 self.resetConnection()
+

diff --git a/duplicity.spec b/duplicity.spec
index 0ee3d00..f41800d 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -3,12 +3,13 @@
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 Name:           duplicity
 Version:        0.6.22
-Release:        4%{?dist}
+Release:        5%{?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.22-documentation.patch
+Patch1:         duplicity-0.6.22-s3-bucket-root.patch
 Requires:       python-GnuPGInterface >= 0.3.2, gnupg >= 1.0.6
 Requires:       openssh-clients, ncftp >= 3.1.9, rsync, python-boto >= 0.9d
 Requires:       python-paramiko python-dropbox
@@ -36,6 +37,7 @@ but not hard links.
 %prep
 %setup -q
 %patch0 -p1 -b .documentation
+%patch1 -p1 -b .s3-bucket-root
 
 %build
 %{__python} setup.py build

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-09 15:56 Rahul Sundaram [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-10-09 15:56 [rpms/duplicity] epel10.3: Added runtime requirement to python-dropbox (#1048656) Rahul Sundaram

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=179156136938.1.8415784685055486726.rpms-duplicity-7ea7d9592ebe@fedoraproject.org \
    --to=sundaram@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