Run spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=29
This commit is contained in:
parent
b40f29a850
commit
da4866685c
@ -22,7 +22,6 @@ Version: 2.9.45
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A declarative parser/builder for binary data
|
Summary: A declarative parser/builder for binary data
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/construct/construct
|
URL: https://github.com/construct/construct
|
||||||
Source: https://github.com/construct/construct/archive/v%{version}.tar.gz
|
Source: https://github.com/construct/construct/archive/v%{version}.tar.gz
|
||||||
Patch0: split_debug.patch
|
Patch0: split_debug.patch
|
||||||
@ -31,15 +30,15 @@ BuildRequires: %{python_module pytest-benchmark}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
Requires: python-arrow
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
|
||||||
BuildRequires: python2-enum34
|
BuildRequires: python2-enum34
|
||||||
|
Requires: python-arrow
|
||||||
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-enum34
|
Requires: python-enum34
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -66,7 +65,7 @@ rm -rf tests/deprecated_gallery
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user