diff --git a/python-Send2Trash.changes b/python-Send2Trash.changes index 1eb2e5a..d1c705d 100644 --- a/python-Send2Trash.changes +++ b/python-Send2Trash.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 19 00:27:32 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. Wrap description at 70 cols. + +------------------------------------------------------------------- +Tue Dec 4 12:54:08 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Oct 20 16:18:31 UTC 2017 - toddrme2178@gmail.com diff --git a/python-Send2Trash.spec b/python-Send2Trash.spec index b66fb64..7e54461 100644 --- a/python-Send2Trash.spec +++ b/python-Send2Trash.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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-%{**}} @@ -22,15 +23,14 @@ Name: python-Send2Trash Version: 1.4.1 Release: 0 +Summary: Python library to send files to the Trash location 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 +Url: https://github.com/hsoft/send2trash 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: fdupes +BuildRequires: python-rpm-macros Recommends: python-gobject %ifpython2 Obsoletes: %{oldpython}-send2trash < %{version} @@ -41,11 +41,13 @@ BuildArch: noarch %python_subpackages %description -Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on -all platforms. On OS X, it uses native FSMoveObjectToTrashSync Cocoa calls, on Windows, it -uses native (and ugly) SHFileOperation win32 calls. On other platforms, if PyGObject and -GIO are available, it will use this. Otherwise, it will fallback to its own implementation -of the trash specifications from freedesktop.org. +Send2Trash is a small package that sends files to the Trash (or +Recycle Bin) natively and on all platforms. On OS X, it uses native +FSMoveObjectToTrashSync Cocoa calls, on Windows, it uses native (and +ugly) SHFileOperation win32 calls. On other platforms, if PyGObject +and GIO are available, it will use this. Otherwise, it will fallback +to its own implementation of the trash specifications from +freedesktop.org. %prep %setup -q -n Send2Trash-%{version}