17
0

Accepting request 659747 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-virtualenvwrapper?expand=0&rev=22
This commit is contained in:
2018-12-24 10:45:56 +00:00
committed by Git OBS Bridge
2 changed files with 16 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:55:51 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Jan 8 07:47:07 UTC 2018 - alarrosa@suse.com

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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,24 +24,22 @@ Release: 0
Summary: Enhancements to virtualenv
License: MIT
Group: Development/Languages/Python
Url: https://virtualenvwrapper.readthedocs.io/
URL: https://virtualenvwrapper.readthedocs.io/
Source: https://files.pythonhosted.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz
Patch: virtualenvwrapper-4.2-fix-bashisms.patch
BuildRequires: %{python_module devel}
Patch0: virtualenvwrapper-4.2-fix-bashisms.patch
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-stevedore
Requires: python-virtualenv
Requires: python-virtualenv-clone
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module stevedore}
BuildRequires: %{python_module virtualenv-clone}
BuildRequires: %{python_module virtualenv}
%endif
BuildRequires: fdupes
Requires: python-stevedore
Requires: python-virtualenv
Requires: python-virtualenv-clone
BuildArch: noarch
%python_subpackages
%description
@@ -62,7 +60,7 @@ conflicts in their dependencies.
%prep
%setup -q -n virtualenvwrapper-%{version}
%patch -p1
%patch0 -p1
sed -i -e '1i#!/bin/sh' virtualenvwrapper.sh
%build
@@ -91,8 +89,8 @@ done
%python_uninstall_alternative virtualenvwrapper
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.es.rst README.ja.rst README.txt
%license LICENSE
%doc AUTHORS ChangeLog README.es.rst README.ja.rst README.txt
%python_alternative %{_bindir}/virtualenvwrapper
%python_alternative %{_bindir}/virtualenvwrapper_lazy
%{python_sitelib}/*