[packages/python-pycdio] fix shebangs in examples; rel 3

atler atler at pld-linux.org
Tue Mar 2 12:27:00 CET 2021


commit 31f829142b2dc92ea0c1ba319a4da410090b69f1
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 2 12:26:41 2021 +0100

    fix shebangs in examples; rel 3

 python-pycdio.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-pycdio.spec b/python-pycdio.spec
index d92451f..af0cb26 100644
--- a/python-pycdio.spec
+++ b/python-pycdio.spec
@@ -7,7 +7,7 @@ Summary:	Python 2 bindings for libcdio
 Summary(pl.UTF-8):	Wiązania Pythona 2 do libcdio
 Name:		python-pycdio
 Version:	2.1.0
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Libraries/Python
 Source0:	https://ftp.gnu.org/gnu/libcdio/pycdio-%{version}.tar.gz
@@ -64,6 +64,8 @@ Przykładowe programy w Pythonie używające libcdio.
 %prep
 %setup -q -n pycdio-%{version}
 
+%{__sed} -i -e '1s,#!.*python,#!%{__python3},' example/*.py
+
 %build
 %if %{with python2}
 %py_build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pycdio.git/commitdiff/31f829142b2dc92ea0c1ba319a4da410090b69f1



More information about the pld-cvs-commit mailing list