14
0

Accepting request 891375 from home:bnavigator:branches:devel:languages:python

- Add logbook-pr316-sqlalchemy-count.patch for compatibility with
  SQLAlchemy 1.4 -- gh#getlogbook/logbook#316

OBS-URL: https://build.opensuse.org/request/show/891375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Logbook?expand=0&rev=19
This commit is contained in:
2021-05-07 21:04:51 +00:00
committed by Git OBS Bridge
parent 4732f4f7a5
commit 00b923f577
3 changed files with 35 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Logbook
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@ Summary: A logging replacement for Python
License: BSD-3-Clause
URL: https://github.com/getlogbook/logbook
Source: https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz
# PATCH-FIX-UPSTREAM logbook-pr316-sqlalchemy-count.patch -- gh#getlogbook/logbook#316
Patch1: https://github.com/getlogbook/logbook/pull/316.patch#/logbook-pr316-sqlalchemy-count.patch
BuildRequires: %{python_module Brotli}
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Jinja2}
@@ -58,7 +60,7 @@ BuildRequires: python-mock
An alternative logging implementation for python.
%prep
%setup -q -n Logbook-%{version}
%autosetup -p1 -n Logbook-%{version}
dos2unix LICENSE
%build