14
0
forked from pool/python-pybeam

Accepting request 774338 from home:matwey:construct:2.10

Version 0.6

OBS-URL: https://build.opensuse.org/request/show/774338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybeam?expand=0&rev=32
This commit is contained in:
2020-02-14 13:02:44 +00:00
committed by Git OBS Bridge
parent 1fa04d96e9
commit a56bbe86a5
5 changed files with 14 additions and 9 deletions

View File

@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-pybeam%{?psuffix}
Version: 0.5
Version: 0.6
Release: 0
Summary: Python module to parse Erlang BEAM files
License: MIT
@@ -37,10 +37,12 @@ Patch0: make_sphinx_optional.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-construct < 2.11
Requires: python-construct >= 2.9
Requires: python-six >= 1.4.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module construct < 2.11}
BuildRequires: %{python_module construct >= 2.9}
BuildRequires: %{python_module six}
%endif
@@ -63,8 +65,6 @@ chunks in pretty python format.
%prep
%setup -q -n pybeam-%{version}
%patch0 -p1
# do not block the new python-construct
sed -i -e 's:,<2.10::' setup.py
%build
%if %{without test}