forked from pool/python-testfixtures
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=6
This commit is contained in:
@@ -17,17 +17,15 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
# Test is disabled. It fails.
|
||||
%bcond_with test
|
||||
|
||||
Name: python-testfixtures
|
||||
Version: 5.3.1
|
||||
Release: 0
|
||||
Summary: A collection of helpers and mock objects for unit tests and doc tests
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/Simplistix/testfixtures
|
||||
URL: https://github.com/Simplistix/testfixtures
|
||||
Source: https://files.pythonhosted.org/packages/source/t/testfixtures/testfixtures-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pkginfo}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
@@ -36,9 +34,10 @@ BuildRequires: %{python_module twine}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module coveralls}
|
||||
BuildRequires: %{python_module django-core}
|
||||
BuildRequires: %{python_module django-nose}
|
||||
@@ -51,8 +50,6 @@ BuildRequires: %{python_module sybil}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
BuildRequires: %{python_module zope.component}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -82,8 +79,8 @@ their own library and give them some tests of their own!
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user