From ebd9847fe607575a306a34b4a5dbb2ee8d3ed49c Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 26 Mar 2024 13:27:50 -0400 Subject: [PATCH] Add rpm-no-comps fixture [noissue] --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index fd3fb8c..3f083e1 100644 --- a/Makefile +++ b/Makefile @@ -156,6 +156,8 @@ help: @echo " Create an RPM repository with zchunk metadata." @echo " fixtures/rpm-zstd-metadata" @echo " Create an RPM repository with zstd-compressed metadata." + @echo " fixtures/rpm-no-comps" + @echo " Create an RPM repository without comps.xml package groups." @echo " fixtures/srpm-duplicate" @echo " Create SRPM fixture data with duplicate entries in repodata." @echo " fixtures/srpm-richnweak-deps" @@ -271,6 +273,7 @@ all-fedora: \ fixtures/rpm-with-sha-512 \ fixtures/rpm-with-vendor \ fixtures/rpm-zstd-metadata \ + fixtures/rpm-no-comps \ fixtures/srpm-duplicate \ fixtures/srpm-richnweak-deps \ fixtures/srpm-signed \ @@ -523,6 +526,13 @@ fixtures/rpm-zstd-metadata: fixtures rpm/gen-fixtures.sh $@ rpm/assets createrepo_c --general-compress-type=zstd --update $@ +fixtures/rpm-no-comps: fixtures + mkdir -p $@ + cp rpm/assets/* $@/ + rm $@/comps.xml + rm $@/modules.yaml + rpm/gen-fixtures.sh $@ fixtures/rpm-no-comps + fixtures/rpm-unsigned-meta-only: fixtures fixtures/rpm-unsigned mkdir -p $@ cp -R fixtures/rpm-unsigned/repodata $@/