]> git.pld-linux.org Git - packages/python3-dugong.git/commitdiff
- fix shebangs
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 1 Mar 2021 20:41:11 +0000 (21:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 1 Mar 2021 20:41:11 +0000 (21:41 +0100)
- noarch package

python3-dugong.spec

index f45d13df977b9c6bf6c0e549a78e91731d2bf2e3..97e269ba4db3f5fddc178dddac03d4f79282fe86 100644 (file)
@@ -18,6 +18,7 @@ BuildRequires:        python3-devel
 BuildRequires: python3-distribute
 BuildRequires: python3-modules
 BuildRequires: rpm-pythonprov
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,6 +38,11 @@ Dokumentacja API %{module}.
 %prep
 %setup -q -n %{module}-%{version}
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
+      examples/extract_links.py \
+      examples/httpcat.py \
+      examples/pipeline1.py
+
 %build
 %py3_build %{?with_tests:test}
 
This page took 0.107044 seconds and 4 git commands to generate.