build: remove centos-7 directive from Makefile

- CentOS-7 support has been deprecated.

Type: fix

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: If7f1988487d0b63a596dfee9dd03af89fb159573
This commit is contained in:
Dave Wallace 2020-12-15 17:13:30 -05:00 committed by Damjan Marion
parent 18f1e41d9c
commit da33ec5143

View File

@ -638,9 +638,6 @@ checkstyle-api:
# https://bugzilla.redhat.com/show_bug.cgi?id=1696324
.PHONY: centos-pyyaml
centos-pyyaml:
ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-7)
@python3 -m pip install pyyaml
endif
ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
@sudo -E yum install $(CONFIRM) python3-pyyaml
endif