From a7751607d8735ca2496d8efa51c1ab5283b317b5 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 15 Jan 2024 16:57:35 +0100 Subject: [PATCH] Unify the build with Fedora There's no need to do a build just for this. Resolves: RHEL-19773 --- rpminspect.yaml | 3 +++ toolbox.spec | 2 ++ 2 files changed, 5 insertions(+) diff --git a/rpminspect.yaml b/rpminspect.yaml index 7187c9a..0404ee2 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -1,5 +1,8 @@ # https://one.redhat.com/rhel-developer-guide/#_modifying_a_per_package_rpminspect_yaml_file # https://github.com/rpminspect/rpminspect/blob/master/data/generic.yaml +# https://github.com/rpminspect/rpminspect-data-fedora/blob/main/fedora.yaml + +--- annocheck: - hardened: --ignore-unknown --verbose --skip-run-path diff --git a/toolbox.spec b/toolbox.spec index d4fe436..e0994f5 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -53,6 +53,7 @@ Requires: gawk Requires: grep Requires: skopeo + %description tests The %{name}-tests package contains system tests for %{name}. @@ -122,6 +123,7 @@ install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/containers/%{name}.conf %{_sysconfdir}/profile.d/%{name}.sh %{_tmpfilesdir}/%{name}.conf + %files tests %{_datadir}/%{name}