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