public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10: Spec cleanup.
@ 2026-10-09 15:24 Gwyn Ciesla
0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-10-09 15:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/duplicity
Branch : epel10
Commit : 3240e59971ff28dfa73de103df2f979a3244c4a2
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2019-04-29T13:20:06-05:00
Stats : +1/-196 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/duplicity/c/3240e59971ff28dfa73de103df2f979a3244c4a2?branch=epel10
Log:
Spec cleanup.
---
diff --git a/1278_1277.diff b/1278_1277.diff
deleted file mode 100644
index 21219a0..0000000
--- a/1278_1277.diff
+++ /dev/null
@@ -1,170 +0,0 @@
-=== modified file '.bzrignore'
---- .bzrignore 2016-11-21 20:19:04 +0000
-+++ .bzrignore 2017-04-20 21:11:09 +0000
-@@ -1,7 +1,7 @@
- *.egg
- *.log
-+.DS_Store
- ._.DS_Store
--.DS_Store
- .eggs
- .idea
- .project
-@@ -17,4 +17,5 @@
- po/duplicity.pot-e
- random_seed
- testfiles
-+testing/gnupg/.gpg-v21-migrated
- testing/gnupg/private-keys-v1.d
-
-=== modified file 'CHANGELOG'
---- CHANGELOG 2017-03-21 20:03:22 +0000
-+++ CHANGELOG 2017-04-20 21:11:09 +0000
-@@ -1,3 +1,10 @@
-+New in v0.7.13 (2017/??/??)
-+---------------------------
-+* Fixed bug #1680682 with patch supplied from Dave Allan
-+ - Only specify --pinentry-mode=loopback when --use-agent is not specified
-+* Fixed man page that had 'cancel' instead of 'loopback' for pinentry mode
-+
-+
- New in v0.7.12 (2017/03/21)
- ---------------------------
- * Fixed bug #1623342 with patch supplied by Daniel Jakots
-
-=== modified file 'Changelog.GNU'
---- Changelog.GNU 2017-03-21 20:03:22 +0000
-+++ Changelog.GNU 2017-04-20 21:11:09 +0000
-@@ -1,3 +1,9 @@
-+2017-04-20 Kenneth Loafman <kenneth@loafman.com>
-+
-+ * Fixed bug #1680682 with patch supplied from Dave Allan
-+ - Only specify --pinentry-mode=loopback when --use-agent is not specified
-+ * Fixed man page that had 'cancel' instead of 'loopback' for pinentry mode
-+
- 2017-03-21 Kenneth Loafman <kenneth@loafman.com>
-
- * Prep for 0.7.12
-
-=== modified file 'README'
---- README 2016-08-12 20:50:29 +0000
-+++ README 2017-04-20 21:11:09 +0000
-@@ -34,6 +34,7 @@
-
- * Python development files, normally found in module 'python-dev'.
- * librsync development files, normally found in module 'librsync-dev'.
-+ * internationalization tools, normally found in module 'intltool'.
-
-
- A NOTE ON GnuPGInterface.py AND MULTIPLE GPG PROCESSES:
-
-=== modified file 'bin/duplicity.1'
---- bin/duplicity.1 2017-02-11 15:51:09 +0000
-+++ bin/duplicity.1 2017-04-20 21:11:09 +0000
-@@ -931,7 +931,7 @@
- .B Note:
- Contrary to previous versions of duplicity, this option will also be honored
- by GnuPG 2 and newer versions. If GnuPG 2 is in use, duplicity passes the option
--.I --pinentry-mode=cancel
-+.I --pinentry-mode=loopback
- to the the gpg process unless
- .I --use-agent
- is specified on the duplicity command line. This has the effect that GnuPG 2
-
-=== modified file 'duplicity/gpg.py'
---- duplicity/gpg.py 2017-02-11 17:06:01 +0000
-+++ duplicity/gpg.py 2017-04-20 21:11:09 +0000
-@@ -26,6 +26,7 @@
- """
-
- import os
-+import sys
- import types
- import tempfile
- import re
-@@ -35,6 +36,7 @@
-
- from duplicity import globals
- from duplicity import gpginterface
-+from duplicity import log
- from duplicity import tempdir
- from duplicity import util
-
-@@ -134,13 +136,26 @@
- gnupg.call = globals.gpg_binary
- gnupg.options.meta_interactive = 0
- gnupg.options.extra_args.append('--no-secmem-warning')
-- if globals.use_agent and profile.gpg_version < (2, 0, 0):
-- # gpg2 always requires the agent where gpg1 does not
-- gnupg.options.extra_args.append('--use-agent')
-- if profile.gpg_version >= (2, 1, 0):
-- # This forces gpg2 to ignore the agent.
-- # Necessary to enforce truly non-interactive operation.
-- gnupg.options.extra_args.append('--pinentry-mode=loopback')
-+
-+ # Support three versions of gpg present 1.x, 2.0.x, 2.1.x
-+ if profile.gpg_version[:1] == (1,):
-+ if globals.use_agent:
-+ # gpg1 agent use is optional
-+ gnupg.options.extra_args.append('--use-agent')
-+
-+ elif profile.gpg_version[:2] == (2, 0):
-+ pass
-+
-+ elif profile.gpg_version[:2] >= (2, 1):
-+ if not globals.use_agent:
-+ # This forces gpg2 to ignore the agent.
-+ # Necessary to enforce truly non-interactive operation.
-+ gnupg.options.extra_args.append('--pinentry-mode=loopback')
-+
-+ else:
-+ raise GPGError("Unsupported GNUPG version, %s" % profile.gpg_version)
-+
-+ # User supplied options added later, can override ours
- if globals.gpg_options:
- for opt in globals.gpg_options.split():
- gnupg.options.extra_args.append(opt)
-@@ -181,7 +196,7 @@
- attach_fhs={'stdout': encrypt_path.open("wb"),
- 'stderr': self.stderr_fp,
- 'logger': self.logger_fp})
-- if not(globals.use_agent):
-+ if not globals.use_agent:
- p1.handles['passphrase'].write(passphrase)
- p1.handles['passphrase'].close()
- self.gpg_input = p1.handles['stdin']
-@@ -240,7 +255,10 @@
- for fp in (self.logger_fp, self.stderr_fp):
- fp.seek(0)
- for line in fp:
-- msg += unicode(line.strip(), locale.getpreferredencoding(), 'replace') + u"\n"
-+ try:
-+ msg += unicode(line.strip(), locale.getpreferredencoding(), 'replace') + u"\n"
-+ except Exception as e:
-+ msg += line.strip() + u"\n"
- msg += u"===== End GnuPG log =====\n"
- if not (msg.find(u"invalid packet (ctb=14)") > -1):
- raise GPGError(msg)
-
-=== modified file 'po/duplicity.pot'
---- po/duplicity.pot 2017-02-11 17:06:01 +0000
-+++ po/duplicity.pot 2017-04-20 21:11:09 +0000
-@@ -8,7 +8,7 @@
- msgstr ""
- "Project-Id-Version: PACKAGE VERSION\n"
- "Report-Msgid-Bugs-To: Kenneth Loafman <kenneth@loafman.com>\n"
--"POT-Creation-Date: 2017-02-11 10:19-0600\n"
-+"POT-Creation-Date: 2017-04-20 15:59-0500\n"
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
- "Language-Team: LANGUAGE <LL@li.org>\n"
-@@ -1309,7 +1309,7 @@
- "succeeded"
- msgstr ""
-
--#: ../duplicity/backends/pydrivebackend.py:142
-+#: ../duplicity/backends/pydrivebackend.py:143
- #, python-format
- msgid "PyDrive backend: multiple files called '%s'."
- msgstr ""
-
diff --git a/duplicity-0.7.01-librsync-1.0.0.patch b/duplicity-0.7.01-librsync-1.0.0.patch
deleted file mode 100644
index 99be1d1..0000000
--- a/duplicity-0.7.01-librsync-1.0.0.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Patch by Roman Tereshonkov and Kari Hautio for duplicity <= 0.7.01 to avoid a build failure with librsync
->= 1.0.0 (which is a security bugfix release). https://bugs.launchpad.net/duplicity/+bug/1416344 contains
-the discussion and solution finding.
-
---- duplicity-0.7.01/duplicity/_librsyncmodule.c 2015-01-11 17:50:39.000000000 +0100
-+++ duplicity-0.7.01/duplicity/_librsyncmodule.c.librsync-1.0.0 2015-03-02 00:41:54.000000000 +0100
-@@ -58,8 +58,13 @@
- sm = PyObject_New(_librsync_SigMakerObject, &_librsync_SigMakerType);
- if (sm == NULL) return NULL;
-
-+#ifdef RS_DEFAULT_STRONG_LEN
- sm->sig_job = rs_sig_begin((size_t)blocklen,
- (size_t)RS_DEFAULT_STRONG_LEN);
-+#else /* librsync >= 1.0.0 */
-+ sm->sig_job = rs_sig_begin((size_t)blocklen,
-+ (size_t)8, RS_MD4_SIG_MAGIC);
-+#endif
- return (PyObject*)sm;
- }
-
diff --git a/duplicity.spec b/duplicity.spec
index 37e959e..0fe490e 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -6,18 +6,13 @@ License: GPLv2+
URL: http://www.nongnu.org/duplicity/
Source: http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz
Patch0: duplicity-unicode.patch
-%if 0%{?fedora} >= 28
Requires: python2-gnupginterface >= 0.3.2
Requires: python2-lockfile
-%else
-Requires: python-GnuPGInterface >= 0.3.2
-Requires: python-lockfile
-%endif
Requires: gnupg >= 1.0.6
Requires: openssh-clients, ncftp >= 3.1.9, rsync, python2-boto >= 0.9d
Requires: python2-paramiko python2-dropbox python2-pexpect
Requires: python2-fasteners python2-PyDrive
-Requires: ca-certificates
+Requires: ca-certificates
BuildRequires: gcc
BuildRequires: python2-devel librsync-devel >= 0.9.6 python2-setuptools
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 15:24 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:24 [rpms/duplicity] epel10: Spec cleanup Gwyn Ciesla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox