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
|
%install
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
# Avoid file conflict with Python-2.x version:
|
# Avoid file conflict with Python-2.x version:
|
||||||
mv %{_bindir}/flake8{,-%{py_ver}}
|
mv %{buildroot}%{_bindir}/flake8{,-%{py3_ver}}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python3 setup.py test
|
python3 setup.py test
|
||||||
@ -62,7 +62,7 @@ python3 setup.py test
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{_bindir}/flake8-%{py_ver}}
|
%{_bindir}/flake8-%{py3_ver}
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user