aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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