forked from pool/python-construct
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=23
This commit is contained in:
parent
b1c6b1185f
commit
3bbe539ea5
@ -23,7 +23,7 @@ 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
|
Group: Development/Languages/Python
|
||||||
Url: http://construct.readthedocs.org
|
URL: http://construct.readthedocs.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz
|
||||||
# PATCH-FEATURE-OPENSUSE split_debug.patch matwey.kornilov@gmail.com -- make debug.py non-loadable
|
# PATCH-FEATURE-OPENSUSE split_debug.patch matwey.kornilov@gmail.com -- make debug.py non-loadable
|
||||||
Patch0: split_debug.patch
|
Patch0: split_debug.patch
|
||||||
@ -31,7 +31,6 @@ BuildRequires: %{python_module six}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -55,8 +54,8 @@ and in the other direction to convert ("build") objects into binary data.
|
|||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/construct
|
%{python_sitelib}/construct
|
||||||
%{python_sitelib}/construct-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/construct-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user