]> git.pld-linux.org Git - packages/rpmlint.git/commitdiff
- fix some more test stuff on rpm5 / python2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 17 Jan 2021 18:17:35 +0000 (19:17 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 17 Jan 2021 18:17:35 +0000 (19:17 +0100)
- rel 1

rpmlint.spec

index b8acd97eb0b1e121b537d9331436a0f1b918bb65..f6d3418acd800159dfa40378935fdb8fd2ec5e33 100644 (file)
@@ -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
 
This page took 0.127094 seconds and 4 git commands to generate.