commit 65d4aff927c49dd75652c4eb1443bd9c56a94384
Author: Jan Palus <[email protected]>
Date:   Mon Mar 1 23:03:05 2021 +0100

    fix shebangs; rel 3

 python-ply.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-ply.spec b/python-ply.spec
index cebd1fa..9c85ad9 100644
--- a/python-ply.spec
+++ b/python-ply.spec
@@ -10,7 +10,7 @@ Summary(pl.UTF-8):    lex i yacc dla Pythona 2
 Name:          python-%{module}
 # note: keep 3.x here for python2 support; for 4+ create python3- .spec instead
 Version:       3.11
-Release:       2
+Release:       3
 License:       BSD
 Group:         Libraries/Python
 Source0:       http://www.dabeaz.com/ply/ply-%{version}.tar.gz
@@ -102,6 +102,9 @@ lex i yacc dla Pythona - przykłady.
 %prep
 %setup -q -n %{module}-%{version}
 
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' \
+       example/{,new}classcalc/calc.py
+
 %build
 %if %{with python2}
 %py_build %{?with_tests:test}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ply.git/commitdiff/65d4aff927c49dd75652c4eb1443bd9c56a94384

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to