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 3.10
Date: Fri, 09 Oct 2026 15:56:55 GMT	[thread overview]
Message-ID: <179156141578.1.1701869501193178383.rpms-duplicity-e782c9ca17ab@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : e782c9ca17ab91e7cbf0a34575aab953d13dadc8
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2020-11-11T12:28:27-06:00
Stats  : +21/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/e782c9ca17ab91e7cbf0a34575aab953d13dadc8?branch=epel10.3

Log:
Patch for 3.10

---
diff --git a/duplicity-py310.patch b/duplicity-py310.patch
new file mode 100644
index 0000000..1d6ebee
--- /dev/null
+++ b/duplicity-py310.patch
@@ -0,0 +1,13 @@
+--- duplicity/_librsyncmodule.c~	2020-10-09 11:52:25.000000000 -0500
++++ duplicity/_librsyncmodule.c	2020-11-11 12:11:57.314465329 -0600
+@@ -464,8 +464,8 @@
+ {
+   PyObject *m, *d;
+ 
+-  Py_TYPE(&_librsync_SigMakerType) = &PyType_Type;
+-  Py_TYPE(&_librsync_DeltaMakerType) = &PyType_Type;
++  Py_SET_TYPE(&_librsync_SigMakerType, &PyType_Type);
++  Py_SET_TYPE(&_librsync_DeltaMakerType, &PyType_Type);
+ 
+   MOD_DEF(m, "_librsync", "", _librsyncMethods)
+   if (m == NULL)

diff --git a/duplicity.spec b/duplicity.spec
index 8abb122..b9495a7 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -3,11 +3,12 @@
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 Name:           duplicity
 Version:        0.8.17
-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
 Patch0:         278270b730302a4e8f04976aa8013d2babc00530.diff
+Patch1:         duplicity-py310.patch
 Requires:	python3-lockfile
 Requires:	gnupg >= 1.0.6
 Requires:       rsync
@@ -42,6 +43,9 @@ but not hard links.
 %prep
 %setup -q
 %patch0 -p1
+%if 0%{?fedora} >= 34
+%patch1 -p0
+%endif
 
 %build
 %{__python3} setup.py build
@@ -80,6 +84,9 @@ rm -rf    %{buildroot}%{_prefix}/share/doc/duplicity-%{version}/tarfile-LICENSE
 %{_sysconfdir}/%{name}/cacert.pem
 
 %changelog
+* Wed Nov 11 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.8.17-2
+- Patch for Python 3.10
+
 * Wed Nov 11 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.8.17-1
 - 0.8.17
 

                 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=179156141578.1.1701869501193178383.rpms-duplicity-e782c9ca17ab@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