public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10: 2.1.4
@ 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 : 1e047168b933ed3424341fc3ee6f5d6fd4241306
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2023-11-13T13:39:47-06:00
Stats  : +4/-101 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/1e047168b933ed3424341fc3ee6f5d6fd4241306?branch=epel10

Log:
2.1.4

---
diff --git a/.gitignore b/.gitignore
index ce528c6..d5c7a4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,4 @@
 /duplicity-1.2.2.tar.gz.sig
 /duplicity-1.2.3.tar.gz
 /duplicity-1.2.3.tar.gz.sig
+/duplicity-2.1.4.tar.gz

diff --git a/duplicity.spec b/duplicity.spec
index b4dbb56..7523cc4 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -1,7 +1,7 @@
 %bcond_without check
 
 Name:           duplicity
-Version:        1.2.3
+Version:        2.1.4
 Release:        %autorelease
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 
@@ -20,29 +20,10 @@ Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 #   - testing/unit/test_gpginterface.py:
 License:        GPL-2.0-or-later AND MIT AND GPL-3.0-or-later
 URL:            https://duplicity.gitlab.io/
-Source0:        https://launchpad.net/duplicity/1.0/%{version}/+download/duplicity-%{version}.tar.gz
-Source1:        https://launchpad.net/duplicity/1.0/%{version}/+download/duplicity-%{version}.tar.gz.sig
-# Trust on first use: keyring created on 2022-12-13 with:
-#   workdir="$(mktemp --directory)"
-#   gpg2 --with-fingerprint duplicity-1.2.1.tar.gz.sig 2>&1 |
-#     awk '$2 == "using" { print "0x" $NF }' |
-#     xargs gpg2 --homedir="${workdir}" \
-#         --keyserver=hkps://keyserver.ubuntu.com --recv-keys
-#   gpg2 --homedir="${workdir}" --export --export-options export-minimal \
-#       > duplicity.gpg
-#   rm -rf "${workdir}"
-# Inspect keys using:
-#   gpg2 --list-keys --no-default-keyring --keyring ./duplicity.gpg
-# Contains:
-#   8B6F8FF4E654E600: public key "Duplicity Test (no password) <duplicity@loafman.com>"
-# The key name does not inspire confidence, but it is better than nothing!
-Source2:        duplicity.gpg
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # chg:test: Add test case for issue #683.
 # https://gitlab.com/duplicity/duplicity/-/commit/e6671cdf4ed8b21b4a8bd1973bd458f62792cd29
 Patch0:         e6671cdf4ed8b21b4a8bd1973bd458f62792cd29.patch
-Patch1:         test_path.patch
-Patch2:         tox.ini.patch
-Patch3:         test_backend_instance.patch
 
 Requires:       ca-certificates
 Requires:       gnupg >= 1.0.6
@@ -56,9 +37,6 @@ Recommends:     python3dist(boto3)
 Recommends:     python3dist(dropbox)
 Recommends:     python3dist(paramiko)
 
-# For verifying the source archive signature:
-BuildRequires:  gnupg2
-
 BuildRequires:  gcc
 BuildRequires:  gettext
 BuildRequires:  python3-devel
@@ -87,7 +65,6 @@ unix permissions, directories, symbolic links, fifos, device files,
 but not hard links.
 
 %prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup -p1
 
 %generate_buildrequires
@@ -124,10 +101,8 @@ rm -rf %{buildroot}%{_docdir}/duplicity-%{version}/CONTRIBUTING.md
 %files -f %{name}.lang -f %{pyproject_files}
 # pyproject_files handles COPYING in dist-info; verify with “rpm -qL -p …”
 %doc CHANGELOG.md README.md CONTRIBUTING.md
-%{_bindir}/rdiffdir
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}*
-%{_mandir}/man1/rdiffdir*
 %dir %{_sysconfdir}/%{name}
 %{_sysconfdir}/%{name}/cacert.pem
 

diff --git a/sources b/sources
index 1be02a2..22d926d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (duplicity-1.2.3.tar.gz) = 43a76e96f06f326d7b5a67aba6f56cff93204238890f982f44685abb16bbd16bd7f133909fba4951e2aacb7efbb4511609e4e91594bd6c3d69a869b3afeb3df6
-SHA512 (duplicity-1.2.3.tar.gz.sig) = a9f261bca87cedc7696ebf716133c22911240791136e887b82018e351f99b1979fc759061e0aea303d611bad2dc41fde3ce78cb9465703d70c6c606a58e57b08
+SHA512 (duplicity-2.1.4.tar.gz) = 10f14bdde9c9ce4e9a7b83176bb186800607eb56ffddc0edb2a0fd149220460a315b1639926b14b8dd3ec83de04d006785b11dc5e3727beb0f99eb6d61bbe5fb

diff --git a/test_backend_instance.patch b/test_backend_instance.patch
deleted file mode 100644
index 0aefc9d..0000000
--- a/test_backend_instance.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/testing/unit/test_backend_instance.py b/testing/unit/test_backend_instance.py
-index 3b716048..d0a85f57 100644
---- a/testing/unit/test_backend_instance.py
-+++ b/testing/unit/test_backend_instance.py
-@@ -252,7 +252,19 @@ class FTPSBackendTest(BackendInstanceBase):
- class RCloneBackendTest(BackendInstanceBase):
-     def setUp(self):
-         super(RCloneBackendTest, self).setUp()
-+        # make sure rclone config exists
-+        assert not os.system(u"rclone config touch")
-+        # add a duptest local config
-+        try:
-+            assert not os.system(u"rclone config create duptest local local=true --non-interactive")
-+            self.delete_config = True
-+        except:
-+            self.delete_config = False
-         os.makedirs(u'{0}/testfiles/output'.format(_runtest_dir))
-         url = u'rclone://duptest:/%s/{0}/testfiles/output'.format(_runtest_dir)
-         self.backend = duplicity.backend.get_backend_object(url)
-         self.assertEqual(self.backend.__class__.__name__, u'RcloneBackend')
-+
-+    def tearDown(self):
-+        if self.delete_config:
-+            assert not os.system(u"rclone config delete duptest")

diff --git a/test_path.patch b/test_path.patch
deleted file mode 100644
index 503864a..0000000
--- a/test_path.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/testing/unit/test_path.py b/testing/unit/test_path.py
-index 58f95673..9768daca 100644
---- a/testing/unit/test_path.py
-+++ b/testing/unit/test_path.py
-@@ -45,17 +45,19 @@ class PathTest(UnitTestCase):
-         p.deltree()
-         assert not p.type, p.type
- 
--    @unittest.skipIf(os.path.exists(u"/.dockenv") or                        # Docker
--                     os.environ.get(u"USER", None) == u"buildd" or          # Launchpad
--                     os.environ.get(u"NON_NATIVE", None) == u"true",        # GitLab
--                     u"Skip on non-native environs")
--    def test_compare(self):
--        u"""Test directory comparisons"""
--        assert not os.system(u"cp -pR {0}/testfiles/dir1/ {0}/testfiles/output".format(_runtest_dir))
--        assert Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
--            Path(u"{0}/testfiles/output".format(_runtest_dir)), 1)
--        assert not Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
--            Path(u"{0}/testfiles/dir2".format(_runtest_dir)), 1)
-+    # Commented out because of flakiness.  See:
-+    # https://gitlab.com/duplicity/duplicity/-/issues/707
-+    # @unittest.skipIf(os.path.exists(u"/.dockenv") or                        # Docker
-+    #                  os.environ.get(u"USER", None) == u"buildd" or          # Launchpad
-+    #                  os.environ.get(u"NON_NATIVE", None) == u"true",        # GitLab
-+    #                  u"Skip on non-native environs")
-+    # def test_compare(self):
-+    #     u"""Test directory comparisons"""
-+    #     assert not os.system(u"cp -pR {0}/testfiles/dir1/ {0}/testfiles/output".format(_runtest_dir))
-+    #     assert Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
-+    #         Path(u"{0}/testfiles/output".format(_runtest_dir)), 1)
-+    #     assert not Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
-+    #         Path(u"{0}/testfiles/dir2".format(_runtest_dir)), 1)
- 
-     def test_quote(self):
-         u"""Test path quoting"""

diff --git a/tox.ini.patch b/tox.ini.patch
deleted file mode 100644
index c4f57c5..0000000
--- a/tox.ini.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tox.ini b/tox.ini
-index e6b38fad..eaf03af3 100644
---- a/tox.ini
-+++ b/tox.ini
-@@ -98,7 +98,7 @@ commands =
- 
- 
- [pytest]
--addopts = --failed-first --junitxml=report.xml
-+addopts = --failed-first --junitxml=report.xml --showlocals --full-trace
- markers = slow: test runs >= 10 secs
- testpaths = testing/unit testing/functional
- 

^ 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: 2.1.4 Gwyn Ciesla

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