forked from pool/python-testrepository
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testrepository?expand=0&rev=35
This commit is contained in:
@@ -23,8 +23,8 @@ Release: 0
|
||||
Summary: A repository of test results
|
||||
License: BSD-3-Clause OR Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://launchpad.net/testrepository
|
||||
Source: https://pypi.io/packages/source/t/testrepository/testrepository-%{version}.tar.gz
|
||||
URL: https://launchpad.net/testrepository
|
||||
Source: https://files.pythonhosted.org/packages/source/t/testrepository/testrepository-%{version}.tar.gz
|
||||
BuildRequires: %{python_module extras}
|
||||
BuildRequires: %{python_module fixtures}
|
||||
BuildRequires: %{python_module pbr}
|
||||
@@ -40,14 +40,12 @@ Requires: python-fixtures
|
||||
Requires: python-python-subunit >= 0.0.10
|
||||
Requires: python-testscenarios
|
||||
Requires: python-testtools >= 0.9.30
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%ifpython3
|
||||
Requires: python3-dbm
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -79,8 +77,8 @@ subunit or be converted into a subunit stream can be accepted).
|
||||
%python_uninstall_alternative testr
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc Apache-2.0 COPYING NEWS README.txt BSD
|
||||
%license COPYING
|
||||
%doc Apache-2.0 NEWS README.txt BSD
|
||||
%python_alternative %{_bindir}/testr
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Reference in New Issue
Block a user