forked from pool/python-pyxdg
Accepting request 780590 from home:mookmoz:branches:devel:languages:python
- Fix Menu.py using attributes that no longer exist Patch from https://gitlab.freedesktop.org/xdg/pyxdg/-/merge_requests/2 Upstream has had a merge request open since Nov 2018 for some obvious errors; this appears to have came from the Fedora package ( https://src.fedoraproject.org/rpms/pyxdg/blob/master/f/pyxdg-0.26-getType-fix.patch ): the author seems to be the Fedora maintainer. I'm still new-ish to the OBS process; please let me know if you'd like changes. Not entirely happy with the patch name, but I have not found a good way to get a patch URL out of a GitLab merge request either. Thanks! OBS-URL: https://build.opensuse.org/request/show/780590 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
7cbdcbae01
commit
17e8901053
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyxdg
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,6 +27,7 @@ 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
|
||||
Patch1: https://gitlab.freedesktop.org/tcallawa/pyxdg/-/commit/b8d3d7b337adeb2fc2ef8a36f3a500e147d7a41b.diff
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
@@ -55,6 +56,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
||||
%prep
|
||||
%setup -q -n pyxdg-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user