15
0
forked from pool/python-getmac

- Fix all files having executable bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2020-04-16 13:18:30 +00:00
committed by Git OBS Bridge
parent e330ed6f5e
commit cdf93f46d8
2 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ A Python module to get MAC addresses of remote hosts and local interfaces.
%prep
%setup -q -n getmac-%{version}
sed -i "1,4{/\/usr\/bin\/env/d}" getmac/__main__.py
rm -r *egg-info
find . -type f -exec chmod -x {} \;
%build
%python_build