forked from pool/python-sphinx-issues
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=11
This commit is contained in:
parent
a3b44c3b1f
commit
2733805dad
@ -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>
|
Thu Jun 6 14:23:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinx-issues
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,22 +17,24 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-sphinx-issues
|
Name: python-sphinx-issues
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Sphinx extension for linking to a project's issue tracker
|
Summary: A Sphinx extension for linking to a project's issue tracker
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/sloria/sphinx-issues
|
URL: https://github.com/sloria/sphinx-issues
|
||||||
Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz
|
Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-mock
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Sphinx
|
Requires: python-Sphinx
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python-mock
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user