Skip to content

Commit

Permalink
Add rpm-no-comps fixture
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
chris1984 authored and ggainey committed Mar 28, 2024
1 parent 87944a0 commit ebd9847
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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 $@/
Expand Down

0 comments on commit ebd9847

Please sign in to comment.