From df9e9b58c1b155fa8ec1c5c53d1a34bd77f1e9a9260ea853d7a374b6a334778d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:05:17 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spark_parser?expand=0&rev=5 --- python-spark_parser.changes | 5 +++++ python-spark_parser.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-spark_parser.changes b/python-spark_parser.changes index 29e0000..4a6e4a3 100644 --- a/python-spark_parser.changes +++ b/python-spark_parser.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:32 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Sep 11 15:32:25 UTC 2017 - jengelh@inai.de diff --git a/python-spark_parser.spec b/python-spark_parser.spec index c07e7e5..54a5493 100644 --- a/python-spark_parser.spec +++ b/python-spark_parser.spec @@ -1,7 +1,7 @@ # # spec file for package python-spark_parser # -# 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/ # @@ -26,7 +26,6 @@ License: MIT Group: Development/Languages/Python Url: https://github.com/rocky/python-spark/ Source: https://files.pythonhosted.org/packages/source/s/spark_parser/spark_parser-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 1c2df08605173b31d4cf65362a3245dd67b20c6932fc44b2548a2389ad3dcfd2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:23:06 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spark_parser?expand=0&rev=6 --- python-spark_parser.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-spark_parser.spec b/python-spark_parser.spec index 54a5493..d094be3 100644 --- a/python-spark_parser.spec +++ b/python-spark_parser.spec @@ -24,18 +24,17 @@ Release: 0 Summary: An Earley-Algorithm Context-free grammar Parser Toolkit License: MIT Group: Development/Languages/Python -Url: https://github.com/rocky/python-spark/ +URL: https://github.com/rocky/python-spark/ Source: https://files.pythonhosted.org/packages/source/s/spark_parser/spark_parser-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-click +BuildArch: noarch %if %{with test} BuildRequires: %{python_module click} BuildRequires: %{python_module nose >= 1.0} %endif -Requires: python-click -BuildArch: noarch - %python_subpackages %description @@ -63,8 +62,8 @@ grammar. These are grammars which are left-recursive. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc ChangeLog LICENSE README.rst +%license LICENSE +%doc ChangeLog README.rst %python3_only %{_bindir}/spark-parser-coverage %{python_sitelib}/*