From 9e40d1122cec2d98185c3e01e66bbbb9f71ec7d16c209ccdfa2e6dee6be10a62 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:16:44 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=14 --- python-zope.exceptions-doc.changes | 10 ++++++++++ python-zope.exceptions-doc.spec | 4 ++-- python-zope.exceptions.changes | 5 +++++ python-zope.exceptions.spec | 5 ++--- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/python-zope.exceptions-doc.changes b/python-zope.exceptions-doc.changes index 6f2de30..4dfc2d3 100644 --- a/python-zope.exceptions-doc.changes +++ b/python-zope.exceptions-doc.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Dec 4 13:10:31 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Tue Jul 4 13:39:22 UTC 2017 - jmatejek@suse.com + +- drop unneeded _multibuild + ------------------------------------------------------------------- Fri Jun 23 09:02:36 UTC 2017 - aloisio@gmx.com diff --git a/python-zope.exceptions-doc.spec b/python-zope.exceptions-doc.spec index fa89561..32c62a0 100644 --- a/python-zope.exceptions-doc.spec +++ b/python-zope.exceptions-doc.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.exceptions-doc # -# 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,7 @@ # 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/ # diff --git a/python-zope.exceptions.changes b/python-zope.exceptions.changes index 0cc8e7b..4dfc2d3 100644 --- a/python-zope.exceptions.changes +++ b/python-zope.exceptions.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 13:10:31 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Jul 4 13:39:22 UTC 2017 - jmatejek@suse.com diff --git a/python-zope.exceptions.spec b/python-zope.exceptions.spec index f88ac62..8b7680f 100644 --- a/python-zope.exceptions.spec +++ b/python-zope.exceptions.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.exceptions # -# 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,7 @@ # 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/ # @@ -25,7 +25,6 @@ License: ZPL-2.1 Group: Development/Languages/Python Url: http://cheeseshop.python.org/pypi/zope.exceptions Source: https://files.pythonhosted.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From cf638e8c63ccf95806855c71203de9f74565a8503b30fbc7dfd53cb7a91674f9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:25:52 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=15 --- python-zope.exceptions.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-zope.exceptions.spec b/python-zope.exceptions.spec index 8b7680f..bed82df 100644 --- a/python-zope.exceptions.spec +++ b/python-zope.exceptions.spec @@ -23,13 +23,12 @@ Release: 0 Summary: Zope Exceptions License: ZPL-2.1 Group: Development/Languages/Python -Url: http://cheeseshop.python.org/pypi/zope.exceptions +URL: http://cheeseshop.python.org/pypi/zope.exceptions Source: https://files.pythonhosted.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zope.interface -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -48,8 +47,8 @@ general purpose that they don't belong in Zope application-specific packages. %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt README.rst %{python_sitelib}/* %changelog