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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
# Test is disabled. It fails.
|
# Test is disabled. It fails.
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
|
|
||||||
Name: python-testfixtures
|
Name: python-testfixtures
|
||||||
Version: 5.3.1
|
Version: 5.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A collection of helpers and mock objects for unit tests and doc tests
|
Summary: A collection of helpers and mock objects for unit tests and doc tests
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/t/testfixtures/testfixtures-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pkginfo}
|
BuildRequires: %{python_module pkginfo}
|
||||||
BuildRequires: %{python_module setuptools-git}
|
BuildRequires: %{python_module setuptools-git}
|
||||||
@@ -36,6 +34,7 @@ BuildRequires: %{python_module twine}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
@@ -51,8 +50,6 @@ BuildRequires: %{python_module sybil}
|
|||||||
BuildRequires: %{python_module virtualenv}
|
BuildRequires: %{python_module virtualenv}
|
||||||
BuildRequires: %{python_module zope.component}
|
BuildRequires: %{python_module zope.component}
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -82,8 +79,8 @@ their own library and give them some tests of their own!
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc LICENSE.txt README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user