Hello community,
here is the log from the commit of package diffoscope for openSUSE:Factory checked in at 2019-04-08 20:52:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/diffoscope (Old)
and /work/SRC/openSUSE:Factory/.diffoscope.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "diffoscope"
Mon Apr 8 20:52:52 2019 rev:5 rq:691774 version:113
Changes:
--------
--- /work/SRC/openSUSE:Factory/diffoscope/diffoscope.changes 2018-11-26 10:23:17.941521646 +0100
+++ /work/SRC/openSUSE:Factory/.diffoscope.new.3908/diffoscope.changes 2019-04-08 20:52:54.706540861 +0200
@@ -1,0 +2,16 @@
+Fri Apr 5 10:13:20 UTC 2019 - Tomáš Chvátal
+
+- Add keyring to the spec file
+- Use python macros
+- Run fdupes
+- Execute tests, but always make them pass 7 currently fail
+
+-------------------------------------------------------------------
+Fri Apr 5 08:46:25 UTC 2019 - Bernhard Wiedemann
+
+- update to version 113
+ * better handle missing helpers at runtime
+ * improved handling of zip, elf, pdf, wasm(WebAssembly) formats
+ * improved output readability
+
+-------------------------------------------------------------------
Old:
----
diffoscope-105.tar.gz
New:
----
diffoscope-113.tar.bz2
diffoscope-113.tar.bz2.asc
diffoscope.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ diffoscope.spec ++++++
--- /var/tmp/diff_new_pack.21bNrK/_old 2019-04-08 20:52:56.382542092 +0200
+++ /var/tmp/diff_new_pack.21bNrK/_new 2019-04-08 20:52:56.386542094 +0200
@@ -1,7 +1,7 @@
#
# spec file for package diffoscope
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,26 @@
Name: diffoscope
-Version: 105
+Version: 113
Release: 0
Summary: In-depth comparison of files, archives, and directories
License: GPL-3.0-or-later
Group: Development/Languages/Python
-Url: https://diffoscope.org/
-Source: https://files.pythonhosted.org/packages/source/d/diffoscope/diffoscope-%{version}.tar.gz
+URL: https://diffoscope.org/
+Source0: https://diffoscope.org/archive/diffoscope-%{version}.tar.bz2
+Source1: https://diffoscope.org/archive/diffoscope-%{version}.tar.bz2.asc
+Source2: diffoscope.keyring
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
BuildRequires: python3-libarchive-c
-BuildRequires: python3-nose
BuildRequires: python3-pytest
BuildRequires: python3-python-magic
BuildRequires: python3-setuptools
Requires: python3-libarchive-c
Requires: python3-python-magic
Requires: python3-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
# Tools required for proper function of this program
# for getfacl
Suggests: acl
@@ -76,8 +81,6 @@
# currently missing:
# enjarify, javap, lipo, otool, showttf, sng
BuildArch: noarch
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
%description
diffoscope will try to get to the bottom of what makes files or
@@ -101,27 +104,28 @@
%setup -q
%build
-python3 setup.py build
+%python3_build
%install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python3_install
+%fdupes %{buildroot}%{python3_sitelib}/
mv %{buildroot}%{_bindir}/diffoscope %{buildroot}%{_bindir}/diffoscope-%{py3_ver}
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
ln -s -f %{_sysconfdir}/alternatives/diffoscope %{buildroot}%{_bindir}/diffoscope
touch %{buildroot}%{_sysconfdir}/alternatives/diffoscope
%post
-%_sbindir/update-alternatives --install \
+%{_sbindir}/update-alternatives --install \
%{_bindir}/diffoscope diffoscope %{_bindir}/diffoscope-%{py3_ver} 10
%postun
if [ "$1" = 0 ] ; then
- %_sbindir/update-alternatives --remove diffoscope %{_bindir}/diffoscope-%{py3_ver}
+ %{_sbindir}/update-alternatives --remove diffoscope %{_bindir}/diffoscope-%{py3_ver}
fi
-# FIXME: tests are failing yet I don't think that problem is on our side
-#%%check
-#nosetests
+%check
+# 7 tests fail 130 skipped due to missing tools, needs more investigation
+py.test-%{python3_bin_suffix} -v || :
%files
%doc README.rst
++++++ diffoscope-105.tar.gz -> diffoscope-113.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/diffoscope/diffoscope-105.tar.gz /work/SRC/openSUSE:Factory/.diffoscope.new.3908/diffoscope-113.tar.bz2 differ: char 1, line 1