forked from pool/python-sh
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=16
This commit is contained in:
parent
0aa07d9e2a
commit
2291862aeb
@ -24,16 +24,14 @@ Release: 0
|
|||||||
Summary: Python subprocess interface
|
Summary: Python subprocess interface
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/amoffat/sh
|
URL: https://github.com/amoffat/sh
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -61,8 +59,8 @@ sh is not a collection of system commands implemented in Python.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE.txt
|
||||||
%doc CHANGELOG.md LICENSE.txt README.rst
|
%doc CHANGELOG.md README.rst
|
||||||
%{python_sitelib}/sh.py*
|
%{python_sitelib}/sh.py*
|
||||||
%pycache_only %{python_sitelib}/__pycache__/sh.*py*
|
%pycache_only %{python_sitelib}/__pycache__/sh.*py*
|
||||||
%{python_sitelib}/sh-%{version}-*.egg-info
|
%{python_sitelib}/sh-%{version}-*.egg-info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user