diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 16abb06..0000000 --- a/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Matwey V. Kornilov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/pybeam-0.4.1.tar.gz b/pybeam-0.4.1.tar.gz deleted file mode 100644 index 9e335bc..0000000 --- a/pybeam-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f34e336f8a8f5d09553e15c55d9843754ed83f5382823dfb6844a13f12e41e2 -size 5282 diff --git a/pybeam-0.5.tar.gz b/pybeam-0.5.tar.gz new file mode 100644 index 0000000..ba90785 --- /dev/null +++ b/pybeam-0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d622e94e5ca56d7345beccdb620b1f7a42600393ddc432a7772e4fbe654eff9 +size 11369 diff --git a/python-pybeam.changes b/python-pybeam.changes index acc7d41..82c5e2a 100644 --- a/python-pybeam.changes +++ b/python-pybeam.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 26 12:45:48 UTC 2018 - matwey.kornilov@gmail.com + +- Version 0.5 + - ported to construct 2.9.x + ------------------------------------------------------------------- Tue Dec 4 12:51:57 UTC 2018 - Matej Cepl diff --git a/python-pybeam.spec b/python-pybeam.spec index a92564e..662e39f 100644 --- a/python-pybeam.spec +++ b/python-pybeam.spec @@ -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