From d3101d4b0e71e2e9151c1d414e172748c7e02e2caccec503d5ac8b54dbf7cd88 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Apr 2013 19:39:25 +0000 Subject: [PATCH] - Update to 1.3.1: - Sort list of commands in interactive help mode. - Fix a dependency issue with PyParsing until the cmd2 package can release an update setting the version of its dependency based on the Python version. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=2 --- python-flake8.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-flake8.spec b/python-flake8.spec index 565522d..2011e0a 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -30,7 +30,12 @@ Requires: python-pyflakes >= 0.6.1 Requires: python-pep8 >= 1.4.3 Requires: python-mccabe >= 0.2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%else BuildArch: noarch +%endif %description Flake8 is a wrapper around these tools: