14
0

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
This commit is contained in:
2018-06-10 15:27:11 +00:00
committed by Git OBS Bridge
parent 8be538856a
commit 2562db9eb8
2 changed files with 14 additions and 11 deletions

View File

@@ -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

View File

@@ -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