From 422119765ef6ee6fc9b4358f499cd875486f47419775306d8ac652a3a595c1eb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:00:51 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rply?expand=0&rev=5 --- python-rply.changes | 5 +++++ python-rply.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-rply.changes b/python-rply.changes index e2362a8..141cf71 100644 --- a/python-rply.changes +++ b/python-rply.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:56 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Sep 11 15:26:18 UTC 2017 - jengelh@inai.de diff --git a/python-rply.spec b/python-rply.spec index 4d36f36..cdb6a5d 100644 --- a/python-rply.spec +++ b/python-rply.spec @@ -1,7 +1,7 @@ # # spec file for package python-rply # -# 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: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/alex/rply Source: https://files.pythonhosted.org/packages/source/r/rply/rply-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %if %{with test} From d9bab0cb464be41a55088f3bb456d16ec713edf7a6601f5672d0a112cfaa62f7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:56 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rply?expand=0&rev=6 --- python-rply.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python-rply.spec b/python-rply.spec index cdb6a5d..7f40fc1 100644 --- a/python-rply.spec +++ b/python-rply.spec @@ -24,17 +24,16 @@ Release: 0 Summary: A pure Python Lex/Yacc that works with RPython License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/alex/rply +URL: https://github.com/alex/rply Source: https://files.pythonhosted.org/packages/source/r/rply/rply-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-appdirs +BuildArch: noarch %if %{with test} BuildRequires: %{python_module appdirs} %endif -BuildRequires: fdupes -Requires: python-appdirs -BuildArch: noarch - %python_subpackages %description @@ -53,8 +52,8 @@ public API, and with RPython support. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog