14
0

Accepting request 827275 from devel:languages:python

- Remove unnecessary BR on devel.
- Don't build python2 on Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/827275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bibtexparser?expand=0&rev=5
This commit is contained in:
2020-08-17 10:10:14 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 3 deletions

View File

@@ -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>

View File

@@ -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