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:
@@ -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
|
||||
|
Reference in New Issue
Block a user