Accepting request 659837 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/659837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Send2Trash?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-12-19 12:54:07 +00:00 committed by Git OBS Bridge
commit 10d9b62861
2 changed files with 23 additions and 11 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 19 00:27:32 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary. Wrap description at 70 cols.
-------------------------------------------------------------------
Tue Dec 4 12:54:08 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 20 16:18:31 UTC 2017 - toddrme2178@gmail.com Fri Oct 20 16:18:31 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-Send2Trash # spec file for package python-Send2Trash
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@ -22,15 +23,14 @@
Name: python-Send2Trash Name: python-Send2Trash
Version: 1.4.1 Version: 1.4.1
Release: 0 Release: 0
Summary: Python library to send files to the Trash location
License: BSD-3-Clause License: BSD-3-Clause
Summary: Send file to trash natively under Mac OS X, Windows and Linux
Url: https://github.com/hsoft/send2trash
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/hsoft/send2trash
Source: https://files.pythonhosted.org/packages/source/S/Send2Trash/Send2Trash-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/S/Send2Trash/Send2Trash-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-gobject Recommends: python-gobject
%ifpython2 %ifpython2
Obsoletes: %{oldpython}-send2trash < %{version} Obsoletes: %{oldpython}-send2trash < %{version}
@ -41,11 +41,13 @@ BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on Send2Trash is a small package that sends files to the Trash (or
all platforms. On OS X, it uses native FSMoveObjectToTrashSync Cocoa calls, on Windows, it Recycle Bin) natively and on all platforms. On OS X, it uses native
uses native (and ugly) SHFileOperation win32 calls. On other platforms, if PyGObject and FSMoveObjectToTrashSync Cocoa calls, on Windows, it uses native (and
GIO are available, it will use this. Otherwise, it will fallback to its own implementation ugly) SHFileOperation win32 calls. On other platforms, if PyGObject
of the trash specifications from freedesktop.org. and GIO are available, it will use this. Otherwise, it will fallback
to its own implementation of the trash specifications from
freedesktop.org.
%prep %prep
%setup -q -n Send2Trash-%{version} %setup -q -n Send2Trash-%{version}