Commit df8f8320 authored by Joanne Hugé's avatar Joanne Hugé

fedora: fix shebangs before shebang mangling

parent 308eaa7f
......@@ -17,6 +17,9 @@ Requires: openvpn < 2.5
Requires: python >= 2.7
Requires: pyOpenSSL >= 0.13
Requires: python-setuptools
%if 0%{?fedora}
BuildRequires: python3-devel
%endif
Recommends: python-miniupnpc
Conflicts: re6st-node
......@@ -24,6 +27,10 @@ Conflicts: re6st-node
%build
make
# Fix shebangs before Fedora's shebang mangling
%if 0%{?fedora}
pathfix.py -i %{__python3} -p -n $(grep -l -R -e "#\!.*python$")
%endif
%install
set $RPM_BUILD_ROOT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment