Hello community,

here is the log from the commit of package bup for openSUSE:Factory checked in 
at 2020-10-23 15:12:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bup (Old)
 and      /work/SRC/openSUSE:Factory/.bup.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bup"

Fri Oct 23 15:12:43 2020 rev:1 rq:839435 version:0.31

Changes:
--------
New Changes file:

--- /dev/null   2020-10-22 01:51:33.322291705 +0200
+++ /work/SRC/openSUSE:Factory/.bup.new.3463/bup.changes        2020-10-23 
15:12:47.138089026 +0200
@@ -0,0 +1,63 @@
+-------------------------------------------------------------------
+Sun Sep 13 09:21:23 UTC 2020 - ecsos <ec...@opensuse.org>
+
+- Update to 0.31
+  - See https://github.com/bup/bup/blob/master/note/0.30.1-from-0.31.md
+- Insert check section.
+- Switch to python3.
+- Run spec-cleaner.
+
+-------------------------------------------------------------------
+Wed Jun  3 18:04:12 UTC 2020 - ecsos <ec...@opensuse.org>
+
+- Update to 0.30.1
+  - See https://github.com/bup/bup/blob/master/note/0.30-from-0.30.1.md
+
+-------------------------------------------------------------------
+Sun Oct 27 09:05:26 UTC 2019 - ec...@opensuse.org
+
+- update to 0.30
+  - See https://github.com/bup/bup/blob/master/note/0.29.2-from-0.30.md
+
+-------------------------------------------------------------------
+Mon Nov 19 18:02:34 UTC 2018 - ec...@opensuse.org
+
+- update to 0.29.2
+  - See https://github.com/bup/bup/blob/master/note/0.29.2-from-0.29.1.md
+
+-------------------------------------------------------------------
+Sat Jun  3 12:33:32 UTC 2017 - ec...@opensuse.org
+
+- update to 0.29.1
+  - See https://github.com/bup/bup/blob/master/note/0.29.1-from-0.29.md
+  
+-------------------------------------------------------------------
+Thu Mar  9 12:01:18 UTC 2017 - ec...@opensuse.org
+
+- update to 0.29
+  - See https://github.com/bup/bup/blob/master/note/0.29-from-0.28.1.md
+
+-------------------------------------------------------------------
+Tue Jun 14 18:58:52 UTC 2016 - ec...@opensuse.org
+
+- update to 0.28.1
+  - See https://github.com/bup/bup/blob/master/note/0.28.1-from-0.28.md
+
+-------------------------------------------------------------------
+Sun May 29 09:14:59 UTC 2016 - ec...@opensuse.org
+
+- update to 0.28
+  - See https://github.com/bup/bup/blob/master/note/0.28-from-0.27.1.md
+- update to 0.27.1
+  - See https://github.com/bup/bup/blob/master/note/0.27.1-from-0.27.md
+
+-------------------------------------------------------------------
+Wed May  6 15:10:33 UTC 2015 - ec...@opensuse.org
+
+- update to 0.27
+
+-------------------------------------------------------------------
+Sun Apr 19 10:46:16 UTC 2015 - ec...@opensuse.org
+
+- initial version 0.26
+

New:
----
  bup-0.31.tar.gz
  bup-python.patch
  bup.changes
  bup.spec

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

Other differences:
------------------
++++++ bup.spec ++++++
#
# spec file for package bup
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

%define with_test 0
Name:           bup
Version:        0.31
Release:        0
Summary:        Backup program based on git
License:        LGPL-2.0-only
Group:          Productivity/Archiving/Backup
URL:            https://bup.github.io/
Source0:        
https://github.com/bup/bup/archive/%{version}/%{name}-%{version}.tar.gz
Patch1:         %{name}-python.patch
BuildRequires:  git-core >= 1.5.3.1
BuildRequires:  pandoc
BuildRequires:  perl-Time-HiRes
BuildRequires:  python3-devel
BuildRequires:  python3-fuse
BuildRequires:  python3-pylibacl
BuildRequires:  python3-pyxattr
BuildRequires:  python3-tornado
%if %{with_test}
BuildRequires:  rsync
%endif
Requires:       git-core >= 1.5.3.1
Requires:       par2
Requires:       python3
Requires:       python3-fuse
Requires:       python3-pylibacl
Requires:       python3-pyxattr
Requires:       python3-tornado

%description
Very efficient backup system based on the git packfile format,
providing fast incremental saves and global deduplication
(among and within files, including virtual machine images).

%prep
%setup -q
%patch1 -p1
# rpmlint: fix incorrect-fsf-address
find . -type f | xargs sed -i -e 's:59 Temple Place\, Suite 330\, Boston\, MA  
02111-1307  USA:51 Franklin Street\, Fifth Floor\, Boston\, MA 02110-1301 USA:g'
# fix binpath
sed -i -e "s|PREFIX=%{_prefix}/local|PREFIX=/usr|g" Makefile
# fix docpath
sed -i -e "s|/share/doc/bup|/share/doc/packages/bup|g" Makefile
# fix env-script-interpreter
sed -i -e "s|\/usr\/bin\/env bash|\/bin\/bash|g" cmd/import-rdiff-backup-cmd.sh
# rpmlint
find -type f -name ".gitignore" -exec rm {} \;

%build
# FIXME: you should use the %%configure macro
# With macro %%configure package will not build.
./configure
%make_build PYTHON=python

%install
%if 0%{!?make_install:1}
%define make_install make install 'DESTDIR=%{buildroot}'
%endif
%make_install PYTHON=python

%check
%if %{with_test}
make check
%endif

%files
%license LICENSE
%doc README
%{_bindir}/%{name}
%{_docdir}/%{name}/
%dir %{_prefix}/lib/%{name}/
%dir %{_prefix}/lib/%{name}/bup/
%dir %{_prefix}/lib/%{name}/cmd/
%dir %{_prefix}/lib/%{name}/web/
%dir %{_prefix}/lib/%{name}/web/static/
%{_prefix}/lib/%{name}/bup/*
%{_prefix}/lib/%{name}/cmd/*
%{_prefix}/lib/%{name}/web/*
%{_prefix}/lib/%{name}/web/static/*
%{_mandir}/man1/*

%changelog
++++++ bup-python.patch ++++++
diff -Pdpru bup-0.31.orig/config/configure bup-0.31/config/configure
--- bup-0.31.orig/config/configure      2020-08-22 19:12:01.000000000 +0200
+++ bup-0.31/config/configure   2020-09-13 11:39:43.045092521 +0200
@@ -66,6 +66,7 @@ expr "$MAKE_VERSION" '>=' '3.81' || AC_F
 AC_SUB bup_make "$MAKE"
 
 bup_python="$(type -p "$PYTHON")"
+test -z "$bup_python" && bup_python="$(bup_find_prog python3 '')"
 test -z "$bup_python" && bup_python="$(bup_find_prog python2.7 '')"
 test -z "$bup_python" && bup_python="$(bup_find_prog python2.6 '')"
 test -z "$bup_python" && bup_python="$(bup_find_prog python2 '')"

Reply via email to