fix: skip RPM Spec hook

If the commit of the spec file is not done separate from formula files
or at last, the check fails. I was skipping it locally but best to
comment out as it is not being used.
This commit is contained in:
Ben Grande 2024-08-16 11:59:49 +02:00
parent 3696a08f07
commit 55f46f2793
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56

View File

@ -85,17 +85,17 @@ repos:
files: salt/\S+/README.md files: salt/\S+/README.md
description: Check if .qubesbuilder is up to date description: Check if .qubesbuilder is up to date
- id: spec-gen # - id: spec-gen
name: spec-gen # name: spec-gen
language: script # language: script
entry: scripts/spec-gen.sh # entry: scripts/spec-gen.sh
args: [test] # args: [test]
pass_filenames: true # pass_filenames: true
# yamllint disable rule:line-length # # yamllint disable rule:line-length
files: >- # files: >-
^(rpm_spec/template/template.spec|salt/.*| # ^(rpm_spec/template/template.spec|salt/.*|
scripts/spec-(get|gen)\.sh)$ # scripts/spec-(get|gen)\.sh)$
description: Check if RPM SPEC files are up to date # description: Check if RPM SPEC files are up to date
- id: license-lint - id: license-lint
name: license-lint name: license-lint