public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10.3: Patch for AWS bug.
Date: Fri, 09 Oct 2026 15:56:52 GMT	[thread overview]
Message-ID: <179156141254.1.9872259254227346754.rpms-duplicity-94e7258fa7b4@fedoraproject.org> (raw)

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
 

                 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=179156141254.1.9872259254227346754.rpms-duplicity-94e7258fa7b4@fedoraproject.org \
    --to=gwync@protonmail.com \
    --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