14
0
forked from pool/python-pyxdg

- add resource_leak.patch - Fix several ResourceWarnings: unclosed file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=16
This commit is contained in:
2019-04-24 13:12:48 +00:00
committed by Git OBS Bridge
parent 53704df736
commit 02f40cb47b
3 changed files with 182 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyxdg
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@ License: LGPL-2.1-only
Group: Development/Languages/Python
URL: http://freedesktop.org/wiki/Software/pyxdg
Source: https://files.pythonhosted.org/packages/source/p/pyxdg/pyxdg-%{version}.tar.gz
Patch0: resource_leak.patch
BuildRequires: %{python_module nose}
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
@@ -52,6 +53,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
%prep
%setup -q -n pyxdg-%{version}
%patch0 -p1
%build
%python_build