SHA256
1
0
forked from pool/python-sh

Accepting request 659671 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-12-24 10:43:53 +00:00 committed by Git OBS Bridge
commit 9073346bb3
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:54:15 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 13 15:29:32 UTC 2017 - toddrme2178@gmail.com Thu Jul 13 15:29:32 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-sh # spec file for package python-sh
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -24,17 +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 devel}
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
@ -62,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