Revert "Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build"

This reverts commit 072ee8575f.
This commit is contained in:
Konrad Kleine 2022-09-06 14:53:04 +02:00 committed by Timm Bäder
parent c66e428a64
commit 739ec228d0

View file

@ -10,11 +10,6 @@ srpm:
dnf install -y dnf-plugins-core fedora-packager
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d $(COPR_USERNAME)/$(COPR_PROJECT)
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
for p in $(dnf --setopt=reposdir=/tmp/yum.repos.d repoquery llvm* clang* 2>/dev/null); do \
echo "Locking package: $p"; \
dnf --setopt=reposdir=/tmp/yum.repos.d versionlock $p; \
done
cat /etc/dnf/plugins/versionlock.list
rpmbuild \
--define "_srcrpmdir $(outdir)" \
--define "_sourcedir $(shell pwd)" \