[packages/rpmlint] - fix some more test stuff on rpm5 / python2 - rel 1
baggins
baggins at pld-linux.org
Sun Jan 17 19:18:01 CET 2021
commit e90f5d3e2134597647fb760aafa80870ef770d7f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jan 17 19:17:35 2021 +0100
- fix some more test stuff on rpm5 / python2
- rel 1
rpmlint.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/rpmlint.spec b/rpmlint.spec
index b8acd97..f6d3418 100644
--- a/rpmlint.spec
+++ b/rpmlint.spec
@@ -7,7 +7,7 @@ Summary: Tool for checking common errors in RPM packages
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
@@ -116,6 +116,8 @@ touch __init__.py
%{__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
@@ -144,7 +146,7 @@ test -s GROUPS
%else
PYTHON=%{__python} \
PYTEST=py.test \
- FLAKE8=flake8 \
+ FLAKE8=flake8-2 \
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpmlint.git/commitdiff/e90f5d3e2134597647fb760aafa80870ef770d7f
More information about the pld-cvs-commit
mailing list