Accepting request 242982 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/242982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cov?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2014-07-31 08:04:17 +00:00
committed by Git OBS Bridge
parent 260b26a95e
commit e6f384c534
4 changed files with 16 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-cov
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
Name: python-pytest-cov
Version: 1.6
Version: 1.7.0
Release: 0
License: MIT
Summary: Pytest plugin for coverage reporting
@@ -25,9 +25,13 @@ Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-cov-core >= 1.12
BuildRequires: python-pytest >= 2.2.3
# Test requirements:
BuildRequires: python-py
BuildRequires: python-virtualenv
Requires: python-pytest >= 2.2.3
Requires: python-cov-core >= 1.12
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -56,7 +60,7 @@ python test_pytest_cov.py
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt
%doc LICENSE.txt README.rst
%{python_sitelib}/*
%changelog