aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-11 11:53:26 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-11 11:53:26 +0200
commitde551896546ac65aaea72af8563d6951808e7788 (patch)
treeeebb3be0c09a064b043425166edaa1597b94ecb3
parentebd5d6cecc602ff0ee63c65ca81c325d295c71a5 (diff)
osmo-sim-auth: fix python shebang
-rw-r--r--rpm-local/spec/osmo-sim-auth/osmo-sim-auth.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpm-local/spec/osmo-sim-auth/osmo-sim-auth.spec b/rpm-local/spec/osmo-sim-auth/osmo-sim-auth.spec
index 492a97e..04daee5 100644
--- a/rpm-local/spec/osmo-sim-auth/osmo-sim-auth.spec
+++ b/rpm-local/spec/osmo-sim-auth/osmo-sim-auth.spec
@@ -34,6 +34,9 @@ reader to obtain GSM/UMTS authentication parameters from a SIM/USIM card.
%prep
%setup -q
+# fix python shebangs
+find . -type f -name "*.py" -exec sed -i '/^#!/ s|.*|#!%{__python3}|' {} \;
+
%build
%install