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