11
0
forked from pool/python-pluggy

Accepting request 627080 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/627080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=6
This commit is contained in:
2018-08-08 12:45:07 +00:00
committed by Git OBS Bridge
parent 75c1cbdcfc
commit 6facace26a
4 changed files with 23 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pluggy
#
# 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
@@ -20,7 +20,7 @@
%bcond_with tests
Name: python-pluggy
Version: 0.6.0
Version: 0.7.1
Release: 0
Summary: Plugin registration and hook calling mechanisms for Python
License: MIT
@@ -30,9 +30,10 @@ Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%
%if %{with tests}
BuildRequires: %{python_module pytest}
%endif
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -51,6 +52,7 @@ except extensive docstrings in the pluggy.py module.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
@@ -58,8 +60,8 @@ except extensive docstrings in the pluggy.py module.
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%license LICENSE
%doc README.rst CHANGELOG.rst
%{python_sitelib}/*
%changelog