15
0
forked from pool/python-PyFxA

Remove dependency on unittest2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyFxA?expand=0&rev=5
This commit is contained in:
2018-08-13 13:15:55 +00:00
committed by Git OBS Bridge
parent 249bd61378
commit 44109012db
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
#
# spec file for package python-PyFxA
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017-2018 The openSUSE Project.
#
# All modifications and additions to the file contributed by third parties
@@ -44,7 +45,6 @@ BuildRequires: %{python_module mock}
BuildRequires: %{python_module requests >= 2.4.2}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module six}
BuildRequires: %{python_module unittest2}
%endif
%python_subpackages
@@ -53,6 +53,7 @@ This is python library for interacting with the Firefox Accounts ecosystem.
%prep
%setup -q -n PyFxA-%{version}
sed -i -e '/^#!\/usr\/bin\/env python/d' fxa/__main__.py
%build
%python_build