mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ticket 2172 - If "make rpms" fails so will the next make
If "make rpms" fails it doesn't clean up the rpmbuild directory it created. The next make-lint will also fail because it finds files under rpmbuild. make-lint is invoked by "make rpms", a vicous cycle. The patch contains two sets of changes Include "rpmbuild" in the IGNORE_PATHS list of make-lint. Fix the Makefile to use $(RPMBUILD) consistently, there were a number of hardcoded uses of "rpmbuild" as a direcotry.
This commit is contained in:
committed by
Martin Kosek
parent
c462314f3c
commit
90b1c6b1b3
@@ -37,7 +37,7 @@ except ImportError:
|
||||
|
||||
# File names to ignore when searching for python source files
|
||||
IGNORE_FILES = ('.*', '*~', '*.in', '*.pyc', '*.pyo')
|
||||
IGNORE_PATHS = ('build', 'dist', 'install/po/test_i18n.py', 'lite-server.py',
|
||||
IGNORE_PATHS = ('build', 'rpmbuild', 'dist', 'install/po/test_i18n.py', 'lite-server.py',
|
||||
'make-lint', 'make-test', 'tests')
|
||||
|
||||
class IPATypeChecker(TypeChecker):
|
||||
|
||||
Reference in New Issue
Block a user