diff --git a/python-pybeam.spec b/python-pybeam.spec index ba26ca1..a92564e 100644 --- a/python-pybeam.spec +++ b/python-pybeam.spec @@ -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