Hello community,
here is the log from the commit of package python-testrepository for
openSUSE:Factory checked in at 2019-03-29 20:38:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testrepository (Old)
and /work/SRC/openSUSE:Factory/.python-testrepository.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-testrepository"
Fri Mar 29 20:38:05 2019 rev:20 rq:688831 version:0.0.20
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-testrepository/python-testrepository.changes
2018-12-27 00:28:54.327686958 +0100
+++
/work/SRC/openSUSE:Factory/.python-testrepository.new.25356/python-testrepository.changes
2019-03-29 20:38:05.530660558 +0100
@@ -1,0 +2,24 @@
+Tue Mar 26 16:00:06 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Remove accidental runtime dep on python-dbm
+
+-------------------------------------------------------------------
+Tue Mar 26 10:41:33 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- The tests are failing in the release but work on the git
+ so lets hope there is some release in future that will allow
+ us to enable them
+
+-------------------------------------------------------------------
+Mon Feb 11 11:36:20 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Fix the buildrequires to match up properly
+
+-------------------------------------------------------------------
+Mon Feb 11 04:14:13 UTC 2019 - John Vandenberg <[email protected]>
+
+- Add missing dependencies pytz and dbm
+- Activate tests, currently broken
+- Fix %license
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-testrepository.spec ++++++
--- /var/tmp/diff_new_pack.vn8urb/_old 2019-03-29 20:38:06.218660908 +0100
+++ /var/tmp/diff_new_pack.vn8urb/_new 2019-03-29 20:38:06.218660908 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-testrepository
#
-# 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
@@ -23,18 +23,21 @@
Summary: A repository of test results
License: BSD-3-Clause OR Apache-2.0
Group: Development/Languages/Python
-URL: https://launchpad.net/testrepository
+URL: https://github.com/testing-cabal/testrepository
Source:
https://files.pythonhosted.org/packages/source/t/testrepository/testrepository-%{version}.tar.gz
BuildRequires: %{python_module extras}
BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module python-mimeparse}
BuildRequires: %{python_module python-subunit}
+BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testresources}
BuildRequires: %{python_module testscenarios}
BuildRequires: %{python_module testtools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+BuildRequires: python3-dbm
Requires: python-extras
Requires: python-fixtures
Requires: python-python-subunit >= 0.0.10
@@ -44,7 +47,7 @@
Requires(postun): update-alternatives
BuildArch: noarch
%ifpython3
-Requires: python3-dbm
+Requires: python-dbm
%endif
%python_subpackages
@@ -68,8 +71,18 @@
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/testr
+%check
+#mv .testr.conf .testr.conf.orig
+#%%{python_expand # first line can't be empty
+#rm -rf .testrepository
+#sed 's/python/$python/' .testr.conf.orig >| .testr.conf
+#$python ./testr init
+#$python ./testr run --parallel
+#}
+
%post
%python_install_alternative testr
@@ -77,8 +90,8 @@
%python_uninstall_alternative testr
%files %{python_files}
-%license COPYING
-%doc Apache-2.0 NEWS README.txt BSD
+%license COPYING Apache-2.0 BSD
+%doc NEWS README.txt
%python_alternative %{_bindir}/testr
%{python_sitelib}/*