forked from pool/python-pybeam
Accepting request 661730 from home:matwey:construct:2.9
- Version 0.5 - ported to construct 2.9.x OBS-URL: https://build.opensuse.org/request/show/661730 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybeam?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
0a786e90da
commit
54e2de3281
@@ -12,26 +12,28 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pybeam
|
||||
Version: 0.4.1
|
||||
Version: 0.5
|
||||
Release: 0
|
||||
Summary: Python module to parse Erlang BEAM files
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/matwey/pybeam
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
|
||||
Source1: LICENSE
|
||||
BuildRequires: %{python_module construct < 2.9}
|
||||
BuildRequires: %{python_module construct >= 2.8}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module construct < 2.10}
|
||||
BuildRequires: %{python_module construct >= 2.9}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-construct
|
||||
Requires: python-construct < 2.10
|
||||
Requires: python-construct >= 2.9
|
||||
Requires: python-six >= 1.4.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -43,13 +45,16 @@ chunks in pretty python format.
|
||||
|
||||
%prep
|
||||
%setup -q -n pybeam-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user