From 7e47216979998fc6dcd35fc0ce152bf70bdadaf974ded6f68ce14d407ac14eb7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:28:59 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-funcparserlib?expand=0&rev=9 --- python-funcparserlib.changes | 5 +++++ python-funcparserlib.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-funcparserlib.changes b/python-funcparserlib.changes index bbb5f36..a3d0ca3 100644 --- a/python-funcparserlib.changes +++ b/python-funcparserlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:48:18 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Apr 19 22:20:34 UTC 2017 - toddrme2178@gmail.com diff --git a/python-funcparserlib.spec b/python-funcparserlib.spec index 0353d92..064f6bc 100644 --- a/python-funcparserlib.spec +++ b/python-funcparserlib.spec @@ -1,7 +1,7 @@ # # spec file for package python-funcparserlib # -# 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/ # @@ -28,11 +28,10 @@ License: MIT Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/f/funcparserlib/funcparserlib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-2to3 -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} %if %{with tests} BuildRequires: %{python_module nose} %endif From 83e81c3c4089a72f3de15c710b58173d35ce7d2fe950a093f5b689df86691b22 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:13:52 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-funcparserlib?expand=0&rev=10 --- python-funcparserlib.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-funcparserlib.spec b/python-funcparserlib.spec index 064f6bc..0fcda93 100644 --- a/python-funcparserlib.spec +++ b/python-funcparserlib.spec @@ -16,26 +16,24 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without tests Name: python-funcparserlib Version: 0.3.6 Release: 0 -Url: http://code.google.com/p/funcparserlib/ Summary: Recursive descent parsing library based on functional combinators License: MIT Group: Development/Languages/Python +URL: http://code.google.com/p/funcparserlib/ Source: https://files.pythonhosted.org/packages/source/f/funcparserlib/funcparserlib-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-2to3 +BuildArch: noarch %if %{with tests} BuildRequires: %{python_module nose} %endif -BuildArch: noarch %python_subpackages %description @@ -77,8 +75,8 @@ popd %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README CHANGES +%license LICENSE +%doc README CHANGES %{python_sitelib}/funcparserlib/ %{python_sitelib}/funcparserlib*egg-info