public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10.3: Added runtime requirement to python-dropbox (#1048656)
@ 2026-10-09 15:56 Rahul Sundaram
  0 siblings, 0 replies; 2+ messages in thread
From: Rahul Sundaram @ 2026-10-09 15:56 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/duplicity] epel10.3: Added runtime requirement to python-dropbox (#1048656)
@ 2026-10-09 15:56 Rahul Sundaram
  0 siblings, 0 replies; 2+ messages in thread
From: Rahul Sundaram @ 2026-10-09 15:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : 205c804ff729e777bbdfc25df0e89ccc45be84b0
Author : Rahul Sundaram <sundaram@fedoraproject.org>
Date   : 2014-01-13T16:56:39-05:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/205c804ff729e777bbdfc25df0e89ccc45be84b0?branch=epel10.3

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

---
diff --git a/duplicity.spec b/duplicity.spec
index b08a35a..e60b1e6 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -3,7 +3,7 @@
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 Name:           duplicity
 Version:        0.6.22
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        GPLv2+
 Group:          Applications/Archiving
 URL:            http://www.nongnu.org/duplicity/
@@ -11,7 +11,7 @@ Source:         http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.t
 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
-Requires:       python-paramiko
+Requires:       python-paramiko python-dropbox
 
 %if 0%{?rhel}  != 5
 Requires:      ca-certificates
@@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/%{name}/cacert.pem
 
 %changelog
+* Mon Jan 13 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.22-4
+- Added runtime requirement to python-dropbox (#1048656)
+
 * Fri Dec 27 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.22-3
 - Fix ssl cert enforcement (rhbz#960860)
 - Fix bogus date in changelog

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-09 15:56 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox