public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10.3: Patch for AWS bug.
@ 2026-10-09 15:56 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-10-09 15:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : 94e7258fa7b4065d6a28968fe4dbc71424d10e87
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2020-08-17T08:49:40-05:00
Stats  : +57/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/94e7258fa7b4065d6a28968fe4dbc71424d10e87?branch=epel10.3

Log:
Patch for AWS bug.

---
diff --git a/278270b730302a4e8f04976aa8013d2babc00530.diff b/278270b730302a4e8f04976aa8013d2babc00530.diff
new file mode 100644
index 0000000..f10ab8e
--- /dev/null
+++ b/278270b730302a4e8f04976aa8013d2babc00530.diff
@@ -0,0 +1,51 @@
+diff --git a/bin/duplicity.1 b/bin/duplicity.1
+index 05aa5f5e8a6003d5329b0fc46d905039eb801ad2..262d8850db1cd40af92d2174e85f968182ce9d13 100644
+--- a/bin/duplicity.1
++++ b/bin/duplicity.1
+@@ -878,18 +878,6 @@ See also
+ .B "A NOTE ON AMAZON S3"
+ below.
+ 
+-.TP
+-.BI "--s3-region-name"
+-Specifies the region of the S3 storage.
+-
+-This is currently only used in the newer boto3 backend.
+-
+-.TP
+-.BI "--s3-endpoint-url"
+-Specifies the endpoint URL of the S3 storage.
+-
+-This is currently only used in the newer boto3 backend.
+-
+ .TP
+ .BI "--azure-blob-tier"
+ Standard storage tier used for backup files (Hot|Cool|Archive).
+diff --git a/duplicity/backends/s3_boto3_backend.py b/duplicity/backends/s3_boto3_backend.py
+index b4ba238af186d779e3be5952be4e7c8c92c77aaa..cd0c07f9b58c35aee59dae9679765ce5d31301d5 100644
+--- a/duplicity/backends/s3_boto3_backend.py
++++ b/duplicity/backends/s3_boto3_backend.py
+@@ -90,7 +90,7 @@ class S3Boto3Backend(duplicity.backend.Backend):
+         from botocore.exceptions import ClientError  # pylint: disable=import-error
+ 
+         self.bucket = None
+-        self.s3 = boto3.resource(u's3', region_name=config.s3_region_name, endpoint_url=config.s3_endpoint_url)
++        self.s3 = boto3.resource(u's3')
+ 
+         try:
+             self.s3.meta.client.head_bucket(Bucket=self.bucket_name)
+diff --git a/duplicity/commandline.py b/duplicity/commandline.py
+index 968769abaef8c7e2f2ab38a49241bedb08a85406..956425d981823caf204663aad3a4ea2aed3c2242 100644
+--- a/duplicity/commandline.py
++++ b/duplicity/commandline.py
+@@ -556,10 +556,6 @@ def parse_cmdline_options(arglist):
+     parser.add_option(u"--s3-kms-key-id", action=u"store", dest=u"s3_kms_key_id")
+     parser.add_option(u"--s3-kms-grant", action=u"store", dest=u"s3_kms_grant")
+ 
+-    # Options for specifying region and endpoint of s3
+-    parser.add_option(u"--s3-region-name", type=u"string", dest=u"s3_region_name", action=u"store")
+-    parser.add_option(u"--s3-endpoint-url", type=u"string", dest=u"s3_endpoint_url", action=u"store")
+-
+     # Option to specify a Swift container storage policy.
+     parser.add_option(u"--swift-storage-policy", type=u"string", metavar=_(u"policy"))
+ 

diff --git a/duplicity.spec b/duplicity.spec
index 910bc76..86b2f78 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -3,10 +3,11 @@
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 Name:           duplicity
 Version:        0.8.15
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
 URL:            http://www.nongnu.org/duplicity/
 Source:         https://launchpad.net/duplicity/0.8-series/%{version}/+download/duplicity-%{version}.tar.gz
+Patch:          278270b730302a4e8f04976aa8013d2babc00530.diff
 Requires:	python3-lockfile
 Requires:	gnupg >= 1.0.6
 Requires:       openssh-clients, ncftp >= 3.1.9, rsync, python3-boto3
@@ -33,6 +34,7 @@ but not hard links.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 %{__python3} setup.py build
@@ -71,6 +73,9 @@ rm -rf    %{buildroot}/usr/share/doc/duplicity-%{version}/tarfile-LICENSE
 %{_sysconfdir}/%{name}/cacert.pem
 
 %changelog
+* Sat Aug 15 2020 Troels Arvin <troels@arvin.dk> - 0.8.15-2
+- Added fix for https://bugs.launchpad.net/duplicity/+bug/1889152
+
 * Mon Jul 27 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.8.15-1
 - 0.8.15
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-09 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 15:56 [rpms/duplicity] epel10.3: Patch for AWS bug Gwyn Ciesla

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