From: Herton R. Krzesinski herton@redhat.com
redhat: add initial rpminspect configuration
CI has been doing rpminspect runs against built rpm packages.
We have to add specific configuration for rpminspect, that can vary depending on the kernel branch. For example, older releases didn't have the kernel meta-package, but today kernel have it and requires kernel-core/kernel-modules which are the ones which contains files. This configuration is supposed as a tweak only for the cases where it makes sense having it here, to ship with dist-git, instead of changing rpminspect-data-* packages.
Signed-off-by: Herton R. Krzesinski herton@redhat.com
diff a/redhat/Makefile b/redhat/Makefile --- a/redhat/Makefile +++ b/redhat/Makefile @@ -260,6 +260,7 @@ sources-rh: $(TARBALL) generate-testpatch-tmp setup-source dist-configs-check keys/rhel*.x509 \ kabi/check-kabi \ configs/$(PACKAGE_NAME)-*.config \ + rpminspect.yaml \ update_scripts.sh \ mod-blacklist.sh \ mod-internal.list \ diff a/redhat/kernel.spec.template b/redhat/kernel.spec.template --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -766,6 +766,7 @@ Source3001: kernel-local Source3003: Patchlist.changelog
Source4000: README.rst +Source4001: rpminspect.yaml
## Patches needed for building this package
diff a/redhat/rpminspect.yaml b/redhat/rpminspect.yaml --- /dev/null +++ b/redhat/rpminspect.yaml @@ -0,0 +1,10 @@ +# additional rpminspect configuration for this branch + +--- +emptyrpm: + expected_empty: + - kernel + - kernel-debug + - kernel-lpae + - kernel-zfcpdump + - kernel-zfcpdump-modules
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1122
From: Jan Stancek on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1122#note_5713991...
Acked-by: Jan Stancek jstancek@redhat.com
kernel@lists.fedoraproject.org