Hello community, here is the log from the commit of package python-Automat for openSUSE:Factory checked in at 2019-03-08 11:01:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Automat (Old) and /work/SRC/openSUSE:Factory/.python-Automat.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Automat" Fri Mar 8 11:01:39 2019 rev:2 rq:682364 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Automat/python-Automat.changes 2017-07-21 22:39:07.919628276 +0200 +++ /work/SRC/openSUSE:Factory/.python-Automat.new.28833/python-Automat.changes 2019-03-08 11:01:40.516538184 +0100 @@ -1,0 +2,13 @@ +Thu Mar 7 09:09:35 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add mulitbuild to make sure we do not cycle + +------------------------------------------------------------------- +Tue Mar 5 12:01:41 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to version 0.7.0: + * test updates + * pep fixes +- Run tests + +------------------------------------------------------------------- @@ -4 +17 @@ -update to version v0.6.0 +- update to version v0.6.0 Old: ---- Automat-0.6.0.tar.gz New: ---- Automat-0.7.0.tar.gz _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Automat.spec ++++++ --- /var/tmp/diff_new_pack.rcNdKT/_old 2019-03-08 11:01:40.920538120 +0100 +++ /var/tmp/diff_new_pack.rcNdKT/_new 2019-03-08 11:01:40.924538120 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Automat # -# Copyright (c) 2017 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 @@ -12,39 +12,44 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} %bcond_with test -Name: python-Automat -Version: 0.6.0 +%endif +Name: python-Automat%{psuffix} +Version: 0.7.0 Release: 0 Summary: Self-service finite-state machines for the programmer on the go License: MIT Group: Development/Languages/Python -Url: https://github.com/glyph/automat +URL: https://github.com/glyph/automat Source: https://files.pythonhosted.org/packages/source/A/Automat/Automat-%{version}.tar.gz BuildRequires: %{python_module m2r} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module Twisted} -BuildRequires: %{python_module attrs} -BuildRequires: %{python_module graphviz} -%endif -Requires: python-attrs +Requires: python-attrs >= 16.1.0 Requires: python-six -Suggests: python-graphviz > 0.5.1 -Suggests: python-Twisted >= 16.1.1 Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Suggests: python-Twisted >= 16.1.1 +Suggests: python-graphviz > 0.5.1 BuildArch: noarch - +%if %{with test} +BuildRequires: %{python_module Twisted >= 16.1.1} +BuildRequires: %{python_module attrs >= 16.1.0} +BuildRequires: %{python_module graphviz >= 0.5.1} +%endif %python_subpackages %description @@ -58,15 +63,18 @@ %python_build %install +%if !%{with test} %python_install %python_clone -a %{buildroot}%{_bindir}/automat-visualize %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif -%if %{with test} %check +%if %{with test} %python_exec setup.py test %endif +%if !%{with test} %post %python_install_alternative automat-visualize @@ -74,9 +82,10 @@ %python_uninstall_alternative automat-visualize %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %python_alternative %{_bindir}/automat-visualize %{python_sitelib}/* +%endif %changelog ++++++ Automat-0.6.0.tar.gz -> Automat-0.7.0.tar.gz ++++++ ++++ 2389 lines of diff (skipped) ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>