forked from pool/python-bibtexparser
- Remove unnecessary BR on devel.
- Don't build python2 on Tumbleweed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bibtexparser?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 17 08:29:09 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove unnecessary BR on devel.
|
||||
- Don't build python2 on Tumbleweed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 10:24:22 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
%if 0%{?suse_version} > 1500
|
||||
%define skip_python2 1
|
||||
%endif
|
||||
Name: python-bibtexparser
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
@@ -28,7 +30,6 @@ URL: https://github.com/sciunto-org/python-bibtexparser
|
||||
Source: https://github.com/sciunto-org/python-bibtexparser/archive/v%{version}.tar.gz#/python-bibtexparser-%{version}.tar.gz
|
||||
# https://github.com/sciunto-org/python-bibtexparser/pull/259
|
||||
Patch0: python-bibtexparser-remove-unittest2.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -40,7 +41,7 @@ BuildRequires: %{python_module future >= 0.16.0}
|
||||
BuildRequires: %{python_module pyparsing >= 2.0.3}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# Required for assertLogs unavailable in 2.7 unittest
|
||||
%if %{with python2}
|
||||
%if "%{python_flavor}" == "python2"
|
||||
BuildRequires: python-unittest2
|
||||
%endif
|
||||
# /SECTION
|
||||
|
||||
Reference in New Issue
Block a user