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:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 09:53:32 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Fix incorrect removal of shebangs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 06:41:14 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
|
@@ -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