Matej Cepl 2018-12-04 17:19:00 +00:00 committed by Git OBS Bridge
parent 6d40737d71
commit 0a786e90da

View File

@ -23,7 +23,7 @@ Release: 0
Summary: Python module to parse Erlang BEAM files
License: MIT
Group: Development/Languages/Python
Url: http://github.com/matwey/pybeam
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}
@ -33,7 +33,6 @@ BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
Requires: python-construct
Requires: python-six >= 1.4.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -44,7 +43,7 @@ chunks in pretty python format.
%prep
%setup -q -n pybeam-%{version}
cp %{S:1} .
cp %{SOURCE1} .
%build
%python_build
@ -53,8 +52,7 @@ cp %{S:1} .
%python_install
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%{python_sitelib}/*
%changelog