From 7000688a41dd1293279e44f0e393d5a71d8515c79825835285f9fa4a1dde2f24 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:01:57 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Send2Trash?expand=0&rev=4 --- python-Send2Trash.changes | 5 +++++ python-Send2Trash.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-Send2Trash.changes b/python-Send2Trash.changes index 1eb2e5a..fde4c11 100644 --- a/python-Send2Trash.changes +++ b/python-Send2Trash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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..c3850f0 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 -License: BSD-3-Clause Summary: Send file to trash natively under Mac OS X, Windows and Linux -Url: https://github.com/hsoft/send2trash +License: BSD-3-Clause 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} From dfc65d9882830b54e67b62db3ab8f83b1b0cffe5bbc9f289d56ff1ba88062c1d Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 19 Dec 2018 04:03:55 +0000 Subject: [PATCH 2/2] Accepting request 659803 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. Wrap description at 70 cols. OBS-URL: https://build.opensuse.org/request/show/659803 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Send2Trash?expand=0&rev=5 --- python-Send2Trash.changes | 5 +++++ python-Send2Trash.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-Send2Trash.changes b/python-Send2Trash.changes index fde4c11..d1c705d 100644 --- a/python-Send2Trash.changes +++ b/python-Send2Trash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-Send2Trash.spec b/python-Send2Trash.spec index c3850f0..7e54461 100644 --- a/python-Send2Trash.spec +++ b/python-Send2Trash.spec @@ -23,7 +23,7 @@ Name: python-Send2Trash Version: 1.4.1 Release: 0 -Summary: Send file to trash natively under Mac OS X, Windows and Linux +Summary: Python library to send files to the Trash location License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/hsoft/send2trash @@ -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}