1
0
forked from pool/python-flake8
Sascha Peilicke 2013-04-25 11:11:30 +00:00 committed by Git OBS Bridge
parent d721d1d9e6
commit 5ec6aa5ed7

View File

@ -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