forked from pool/python-flake8
fixup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=4
This commit is contained in:
parent
d721d1d9e6
commit
5ec6aa5ed7
@ -54,7 +54,7 @@ python3 setup.py build
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# Avoid file conflict with Python-2.x version:
|
||||
mv %{_bindir}/flake8{,-%{py_ver}}
|
||||
mv %{buildroot}%{_bindir}/flake8{,-%{py3_ver}}
|
||||
|
||||
%check
|
||||
python3 setup.py test
|
||||
@ -62,7 +62,7 @@ python3 setup.py test
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.rst
|
||||
%{_bindir}/flake8-%{py_ver}}
|
||||
%{_bindir}/flake8-%{py3_ver}
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user