From 5cdbc4c077482954415f28b4d784c41e977778d1 Mon Sep 17 00:00:00 2001
From: Fabien Boucher <fboucher@redhat.com>
Date: Mar 29 2021 15:46:35 +0000
Subject: Ensure rpm-lint role do not check recursively


---

diff --git a/roles/rpm-lint/tasks/main.yaml b/roles/rpm-lint/tasks/main.yaml
index 8cb865b..3501c35 100644
--- a/roles/rpm-lint/tasks/main.yaml
+++ b/roles/rpm-lint/tasks/main.yaml
@@ -28,6 +28,6 @@
   when: rpmlintrc_check is succeeded
 
 - name: Run rpmlint
-  shell: rpmlint {% if rpmlintrc | default("") %} --file {{ rpmlintrc }} {% endif %} ./
+  shell: rpmlint {% if rpmlintrc | default("") %} --file {{ rpmlintrc }} {% endif %} ./*.spec ./*.rpm
   args:
     chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"

