Hello community, here is the log from the commit of package python-pybeam for openSUSE:Factory checked in at 2017-09-07 22:09:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pybeam (Old) and /work/SRC/openSUSE:Factory/.python-pybeam.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pybeam" Thu Sep 7 22:09:53 2017 rev:9 rq:520331 version:0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pybeam/python-pybeam.changes 2017-02-03 18:58:08.119321216 +0100 +++ /work/SRC/openSUSE:Factory/.python-pybeam.new/python-pybeam.changes 2017-09-07 22:09:54.794889450 +0200 @@ -1,0 +2,5 @@ +Thu Aug 24 13:50:13 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -49,0 +55 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pybeam.spec ++++++ --- /var/tmp/diff_new_pack.yJCOdd/_old 2017-09-07 22:09:55.350811094 +0200 +++ /var/tmp/diff_new_pack.yJCOdd/_new 2017-09-07 22:09:55.354810529 +0200 @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pybeam Version: 0.4 Release: 0 @@ -24,31 +25,31 @@ Group: Development/Languages/Python Url: http://github.com/matwey/pybeam Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz -BuildRequires: python-construct >= 2.8 -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module construct >= 2.8} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros Requires: python-construct Requires: python-six >= 1.4.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description -Python module to parse Erlang BEAM files, now it is able to read imports, exports, atoms, as well as compile info and attribute chunks in pretty python format. +Python module to parse Erlang BEAM files, now it is able to read +imports, exports, atoms, as well as compile info and attribute +chunks in pretty python format. %prep %setup -q -n pybeam-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/*