From 30bf257be2c564b2f1a3030e6be89bd54bb70c08941211286ebc1c3f77fb9494 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:24:11 +0000 Subject: [PATCH 1/4] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=13 --- python-docopt.changes | 5 +++++ python-docopt.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-docopt.changes b/python-docopt.changes index b32d49a..5a20f4a 100644 --- a/python-docopt.changes +++ b/python-docopt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:47:24 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Jul 10 18:42:12 UTC 2017 - toddrme2178@gmail.com diff --git a/python-docopt.spec b/python-docopt.spec index a5ebf1e..326949c 100644 --- a/python-docopt.spec +++ b/python-docopt.spec @@ -1,7 +1,7 @@ # # spec file for package python-docopt # -# 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,10 +25,9 @@ License: MIT Group: Development/Languages/Python Url: http://docopt.org Source: https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages From 5a6bcd4b2af746128177885349d7d8fb17ad6115f011223a14a38b1c224306b1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:12:23 +0000 Subject: [PATCH 2/4] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=14 --- python-docopt.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python-docopt.spec b/python-docopt.spec index 326949c..fc9b53f 100644 --- a/python-docopt.spec +++ b/python-docopt.spec @@ -23,12 +23,11 @@ Release: 0 Summary: Pythonic argument parser, that will make you smile License: MIT Group: Development/Languages/Python -Url: http://docopt.org +URL: http://docopt.org Source: https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -50,7 +49,7 @@ easily. %setup -q -n docopt-%{version} # Fix wrong-script-interpreter -sed -i "s|#! /usr/bin/env python||" examples/git/git.py +sed -i "s|#! %{_bindir}/env python||" examples/git/git.py %build %python_build @@ -60,7 +59,6 @@ sed -i "s|#! /usr/bin/env python||" examples/git/git.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) %doc LICENSE-MIT README.rst %doc examples/ %{python_sitelib}/* From 241a2586f6f52240819168bd1d4943b90330434af36eb8995b8e1fc96e81b65e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:13:57 +0000 Subject: [PATCH 3/4] Fix %license tag OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=15 --- python-docopt.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-docopt.spec b/python-docopt.spec index fc9b53f..1491e5c 100644 --- a/python-docopt.spec +++ b/python-docopt.spec @@ -59,7 +59,8 @@ sed -i "s|#! %{_bindir}/env python||" examples/git/git.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc LICENSE-MIT README.rst +%license LICENSE-MIT +%doc README.rst %doc examples/ %{python_sitelib}/* From 1afad3f2900a8fc1653e3bdf712537c7380f4a49b83d4f24af2fd42e92ac7f4e Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 5 Dec 2018 19:23:27 +0000 Subject: [PATCH 4/4] Accepting request 654121 from home:jengelh:branches:devel:languages:python - Remove rhetorics and bias from descriptions. OBS-URL: https://build.opensuse.org/request/show/654121 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=16 --- python-docopt.changes | 5 +++++ python-docopt.spec | 16 ++++------------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/python-docopt.changes b/python-docopt.changes index 5a20f4a..7117061 100644 --- a/python-docopt.changes +++ b/python-docopt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 5 01:03:34 UTC 2018 - Jan Engelhardt + +- Remove rhetorics and bias from descriptions. + ------------------------------------------------------------------- Tue Dec 4 12:47:24 UTC 2018 - Matej Cepl diff --git a/python-docopt.spec b/python-docopt.spec index 1491e5c..48974a5 100644 --- a/python-docopt.spec +++ b/python-docopt.spec @@ -20,7 +20,7 @@ Name: python-docopt Version: 0.6.2 Release: 0 -Summary: Pythonic argument parser, that will make you smile +Summary: Pythonic argument parser License: MIT Group: Development/Languages/Python URL: http://docopt.org @@ -32,18 +32,10 @@ BuildArch: noarch %python_subpackages %description -docopt creates beautiful command-line interfaces. +docopt creates command-line interfaces. -Isn't it awesome how optparse and argparse generate help -messages based on your code?! - -Hell no! You know what's awesome? It's when the option parser is -generated based on the beautiful help message that you write yourself! -This way you don't need to write this stupid repeatable parser-code, -and instead can write only the help message--the way you want it. - -docopt helps you create most beautiful command-line interfaces -easily. +This way one does not need to write repeatable parser-code, +and instead can write only the help message. %prep %setup -q -n docopt-%{version}