15
0

Accepting request 588635 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/588635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MiniMock?expand=0&rev=17
This commit is contained in:
2018-03-19 22:40:07 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 19 14:26:44 UTC 2018 - dimstar@opensuse.org
- BuildRequire python3-2to3: the spec calls 2to3.
-------------------------------------------------------------------
Sat Sep 2 09:48:35 UTC 2017 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-MiniMock
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,12 @@ Release: 0
Summary: A mock library for Python
License: MIT
Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/MiniMock
URL: http://pypi.python.org/pypi/MiniMock
Source: https://files.pythonhosted.org/packages/source/M/MiniMock/MiniMock-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-2to3
BuildArch: noarch
%ifpython2
Provides: %{oldpython}-minimock = %{version}