From 2562db9eb83af557d9d6f12fb3f22db2369a7799537a43fbbb374bd11a2d38eb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 10 Jun 2018 15:27:11 +0000 Subject: [PATCH] Accepting request 615782 from home:jengelh:branches:devel:languages:python - Fix repeated name in summary (rpmlint). - Trim rhetoric parts from description. - Use find "+" logic. OBS-URL: https://build.opensuse.org/request/show/615782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coconut?expand=0&rev=2 --- python-coconut.changes | 7 +++++++ python-coconut.spec | 18 +++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/python-coconut.changes b/python-coconut.changes index cccd37b..182ff0d 100644 --- a/python-coconut.changes +++ b/python-coconut.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jun 10 10:48:01 UTC 2018 - jengelh@inai.de + +- Fix repeated name in summary (rpmlint). +- Trim rhetoric parts from description. +- Use find "+" logic. + ------------------------------------------------------------------- Thu May 24 17:29:32 UTC 2018 - toddrme2178@gmail.com diff --git a/python-coconut.spec b/python-coconut.spec index e6bfa3f..f927f19 100644 --- a/python-coconut.spec +++ b/python-coconut.spec @@ -20,7 +20,7 @@ Name: python-coconut Version: 1.3.1 Release: 0 -Summary: Coconut is a functional programming language that compiles to Python +Summary: A functional programming language that compiles to Python License: MIT Group: Development/Languages/Python URL: https://github.com/evhub/coconut @@ -70,20 +70,16 @@ BuildArch: noarch %description Coconut is a functional programming language that compiles to Python. Since all valid Python is valid Coconut, using Coconut will -only extend and enhance what you're already capable of in Python. +only extend and enhance what is already capable of in Python. -Why use Coconut? Coconut is built to be useful. Coconut enhances the -repertoire of Python programmers to include the tools of modern -functional programming, in such a way that those tools are easy to use -and immensely powerful; that is, Coconut does to functional -programming what Python did to imperative programming. And Coconut -code runs the same on any Python version, making the Python 2/3 split -a thing of the past. +Coconut enhances the repertoire of Python programmers to include +tools for functional programming. Coconut code runs the same on any +Python version. %prep %setup -q -n coconut-%{version} -find . -type f -exec sed -i 's/\r$//' {} \; -find . -name '*.py' -exec sed -i -e '/^#!\//, 1d' {} \; +find . -type f -exec sed -i 's/\r$//' {} + +find . -name '*.py' -exec sed -i -e '/^#!\//, 1d' {} + %build %python_build