forked from pool/python-netaddr
- Fix incorrect removal of shebangs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=37
This commit is contained in:
@@ -60,7 +60,7 @@ Included are routines for:
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n netaddr-%{version}
|
||||
sed -i "1d" netaddr/{cli,ip/iana,eui/ieee,tests/__init__}.py # Fix non-executable scripts
|
||||
sed -i "1{\@/usr/bin/env python@d}" netaddr/{cli,ip/iana,eui/ieee}.py # Fix non-executable scripts
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user