diff --git a/Makefile-tests.am b/Makefile-tests.am index d3acaecb..51232168 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -18,7 +18,7 @@ tests/compose/yum/repodata/repomd.xml: tests/compose/yum/empty tests/compose/yum (cd tests/compose/yum && \ rpmbuild --define "_sourcedir $(shell pwd)/tests/compose/yum" --define "_specdir $(shell pwd)/tests/compose/yum" --define "_builddir $(shell pwd)/tests/compose/yum" \ --define "_srcrpmdir $(shell pwd)/tests/compose/yum" --define "_rpmdir $(shell pwd)/tests/compose/yum" --define "_buildrootdir $(shell pwd)/tests/compose/yum/.build" \ - -ba empty.spec && createrepo_c --no-database $(shell pwd)/tests/compose/yum/) + -ba empty.spec && rm *.src.rpm && createrepo_c --no-database $(shell pwd)/tests/compose/yum/) tests/compose/test-repo.repo: tests/compose/test-repo.repo.in tests/compose/yum/repodata/repomd.xml cat $< | sed -e "s|%WHERE%|$(installed_testdir)|" > $@