1
0
Tomáš Chvátal 2020-03-13 13:01:37 +00:00 committed by Git OBS Bridge
parent a3b44c3b1f
commit 2733805dad
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 13 13:01:25 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Jun 6 14:23:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-issues
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,22 +17,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-sphinx-issues
Version: 1.2.0
Release: 0
Summary: A Sphinx extension for linking to a project's issue tracker
License: MIT
Group: Development/Languages/Python
URL: https://github.com/sloria/sphinx-issues
Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-mock
BuildRequires: python-rpm-macros
Requires: python-Sphinx
BuildArch: noarch
%if %{with python2}
BuildRequires: python-mock
%endif
%python_subpackages
%description