]> git.pld-linux.org Git - packages/python-pycdio.git/commitdiff
fix shebangs in examples; rel 3 auto/th/python-pycdio-2.1.0-3
authorJan Palus <atler@pld-linux.org>
Tue, 2 Mar 2021 11:26:41 +0000 (12:26 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 2 Mar 2021 11:26:41 +0000 (12:26 +0100)
python-pycdio.spec

index d92451fc649c82bce2305fa32416ac50b4629bd3..af0cb268af575b98374d361f63de260f948b3fde 100644 (file)
@@ -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
This page took 0.107727 seconds and 4 git commands to generate.