Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package duplicity for openSUSE:Factory 
checked in at 2023-12-09 22:53:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/duplicity (Old)
 and      /work/SRC/openSUSE:Factory/.duplicity.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "duplicity"

Sat Dec  9 22:53:43 2023 rev:75 rq:1132166 version:2.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/duplicity/duplicity.changes      2023-07-24 
18:26:51.386463802 +0200
+++ /work/SRC/openSUSE:Factory/.duplicity.new.25432/duplicity.changes   
2023-12-09 22:57:29.232939194 +0100
@@ -1,0 +2,11 @@
+Thu Dec  7 17:01:07 UTC 2023 - Michael Gorse <[email protected]>
+
+- Update to version 2.1.4
+  + See CHANGELOG.md for changes.
+- Update source URI.
+- use python 3.11 on SLE/Leap.
+- Drop duplicity-remove_shebang.patch. Handle this with sed in %setup.
+- No longer require python3-future. It isn't used anymore except
+  in tests.
+
+-------------------------------------------------------------------

Old:
----
  duplicity-1.2.3.tar.gz
  duplicity-remove_shebang.patch

New:
----
  duplicity-2.1.4.tar.gz

BETA DEBUG BEGIN:
  Old:- use python 3.11 on SLE/Leap.
- Drop duplicity-remove_shebang.patch. Handle this with sed in %setup.
- No longer require python3-future. It isn't used anymore except
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ duplicity.spec ++++++
--- /var/tmp/diff_new_pack.Wsk5TY/_old  2023-12-09 22:57:29.864962388 +0100
+++ /var/tmp/diff_new_pack.Wsk5TY/_new  2023-12-09 22:57:29.864962388 +0100
@@ -16,29 +16,36 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%define _python python3
+%define _python_sitearch %{?python3_sitearch}
+%define _python3_version %{?python3_version}
+%else
+%define _python python311
+%define _python_sitearch %{?python311_sitearch}
+%define _python3_version %{?python311_version}
+%endif
 Name:           duplicity
-Version:        1.2.3
+Version:        2.1.4
 Release:        0
 Summary:        Encrypted bandwidth-efficient backup using the rsync algorithm
 License:        GPL-3.0-or-later
 Group:          Productivity/Archiving/Backup
 URL:            https://duplicity.gitlab.io/
-Source:         
https://launchpad.net/duplicity/1.0/%{version}/+download/duplicity-%{version}.tar.gz
-Patch1:         duplicity-remove_shebang.patch
+Source:         
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRequires:  %{_python}-devel
+BuildRequires:  %{_python}-pytest
+BuildRequires:  %{_python}-setuptools
+BuildRequires:  %{_python}-setuptools_scm
 BuildRequires:  fdupes
 BuildRequires:  librsync-devel >= 0.9.6
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-devel
-BuildRequires:  python3-pytest
-BuildRequires:  python3-setuptools
-BuildRequires:  python3-setuptools_scm
+Requires:       %{_python}-fasteners
+Requires:       %{_python}-lockfile
 Requires:       gpg
-Requires:       python3-fasteners
-Requires:       python3-future
-Requires:       python3-lockfile
+Recommends:     %{_python}-boto3
 Recommends:     %{name}-lang
 Recommends:     lftp
-Recommends:     python3-boto3
 
 %description
 Duplicity incrementally backs up files and directories by encrypting
@@ -57,27 +64,33 @@
 
 %prep
 %setup -q
-%patch1 -p1
+sed -i -e 's|/usr/bin/env python3|/usr/bin/%{_python}|g' bin/duplicity
 
 %build
+%if 0%{?suse_version} > 1500
 %python3_build
+%else
+%python311_build
+%endif
 
 %install
+%if 0%{?suse_version} > 1500
 %python3_install
+%else
+%python311_install
+%endif
 rm -rf %{buildroot}%{_datadir}/doc/duplicity-%{version}
-perl -n -i -e 'print unless 
m,(%{_bindir}|%{_mandir}|%{_datadir}/doc|%{_datadir}/locale|%{python_sitearch}/testing),'
 files.lst
+perl -n -i -e 'print unless 
m,(%{_bindir}|%{_mandir}|%{_datadir}/doc|%{_datadir}/locale|%{_python_sitearch}/testing),'
 files.lst
 %find_lang %{name}
-%fdupes %{buildroot}%{python3_sitearch}
+%fdupes %{buildroot}%{_python_sitearch}
 
 %files
 %license COPYING
 %doc CHANGELOG.md README.md README-LOG.md
 %{_bindir}/duplicity
-%{_bindir}/rdiffdir
-%{python3_sitearch}/duplicity
-%{python3_sitearch}/duplicity-*-py%{py3_ver}.egg-info
+%{_python_sitearch}/duplicity
+%{_python_sitearch}/duplicity-*-py%{_python3_version}.egg-info
 %{_mandir}/man1/duplicity.1%{?ext_man}
-%{_mandir}/man1/rdiffdir.1%{?ext_man}
 
 %files lang -f %{name}.lang
 

++++++ duplicity-1.2.3.tar.gz -> duplicity-2.1.4.tar.gz ++++++
++++ 176372 lines of diff (skipped)

Reply via email to