Hello community, here is the log from the commit of package python-PeachPy for openSUSE:Factory checked in at 2020-04-23 18:34:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PeachPy (Old) and /work/SRC/openSUSE:Factory/.python-PeachPy.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PeachPy" Thu Apr 23 18:34:57 2020 rev:3 rq:796480 version:0.2.0~pre.1583266105.f189ad2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PeachPy/python-PeachPy.changes 2019-12-12 23:18:52.762209626 +0100 +++ /work/SRC/openSUSE:Factory/.python-PeachPy.new.2738/python-PeachPy.changes 2020-04-23 18:35:22.744654943 +0200 @@ -1,0 +2,6 @@ +Thu Apr 23 10:26:45 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 +- Fix the version to match reality as it is git repo snapshot + +------------------------------------------------------------------- Old: ---- PeachPy-0.2.0.obscpio New: ---- PeachPy-0.2.0~pre.1583266105.f189ad2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PeachPy.spec ++++++ --- /var/tmp/diff_new_pack.cag7sc/_old 2020-04-23 18:35:25.004659267 +0200 +++ /var/tmp/diff_new_pack.cag7sc/_new 2020-04-23 18:35:25.008659274 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PeachPy # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-PeachPy -Version: 0.2.0 +Version: 0.2.0~pre.1583266105.f189ad2 Release: 0 Summary: Portable Efficient Assembly Codegen in Higher-level Python License: BSD-2-Clause @@ -26,14 +27,20 @@ URL: https://github.com/Maratyszcza/PeachPy Source0: PeachPy-%{version}.tar.xz Patch1: automated-convertion-form-2to3.patch -BuildRequires: %{python_module opcodes} +BuildRequires: %{python_module opcodes >= 0.3.13} BuildRequires: %{python_module rednose} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: python-enum34 BuildRequires: python-rpm-macros +Requires: python-six ExclusiveArch: x86_64 - +%ifpython2 +Requires: python-enum34 +%endif +%if %{with python2} +BuildRequires: python-enum34 +%endif %python_subpackages %description @@ -67,9 +74,9 @@ %check # we use the local build install for the nosetests sed -i '/no-path-adjustment=1/d' setup.cfg -%python_expand nosetests-%{$python_bin_suffix} +%python_expand nosetests-%{$python_bin_suffix} -v -%files %python_files +%files %{python_files} %doc README.rst %license LICENSE.rst %{python_sitelib}/* ++++++ PeachPy.obsinfo ++++++ --- /var/tmp/diff_new_pack.cag7sc/_old 2020-04-23 18:35:25.036659328 +0200 +++ /var/tmp/diff_new_pack.cag7sc/_new 2020-04-23 18:35:25.036659328 +0200 @@ -1,5 +1,5 @@ name: PeachPy -version: 0.2.0 -mtime: 1567643222 -commit: 5fb95df0f380773b8c079e920bd46b24e3cf5e44 +version: 0.2.0~pre.1583266105.f189ad2 +mtime: 1583266105 +commit: f189ad26e898171c17c96df9898d581d026d9c6d ++++++ _service ++++++ --- /var/tmp/diff_new_pack.cag7sc/_old 2020-04-23 18:35:25.052659358 +0200 +++ /var/tmp/diff_new_pack.cag7sc/_new 2020-04-23 18:35:25.052659358 +0200 @@ -1,8 +1,7 @@ <services> <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/Maratyszcza/PeachPy.git</param> - <param name="version">0.2.0</param> - <param name="revision">5fb95df0f380773b8c079e920bd46b24e3cf5e44</param> + <param name="versionprefix">0.2.0~pre</param> <param name="scm">git</param> </service> <service mode="buildtime" name="tar" />
