Summary(pl.UTF-8): Narzędzie do sprawdzania pakietów RPM pod kątem częstych błędów
Name: rpmlint
Version: 1.11
-Release: 0.7
+Release: 1
License: GPL v2
Group: Development/Building
Source0: https://github.com/rpm-software-management/rpmlint/archive/%{name}-%{version}.tar.gz
%{__sed} -i -e '1s,/usr/bin/python,%{__python3},' rpmdiff rpmlint
%else
%{__sed} -i -e '1s,/usr/bin/python,%{__python},' rpmdiff rpmlint
+# this syntax is not supported by rpm5?
+%{__rm} test/test.CheckInclude.py test/test_tags.py
%endif
%build
%else
PYTHON=%{__python} \
PYTEST=py.test \
- FLAKE8=flake8 \
+ FLAKE8=flake8-2 \
%endif
%endif