This commit is contained in:
Konrad Kleine 2022-06-13 17:46:11 +02:00
parent 92a868cdda
commit 71e6437042

View file

@ -6,6 +6,8 @@ srpm:
dnf install -y dnf-plugins-core fedora-packager dnf install -y dnf-plugins-core fedora-packager
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d @fedora-llvm-team/llvm-snapshot-builder dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d @fedora-llvm-team/llvm-snapshot-builder
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
rpmdev-spectool --get-files --all --sourcedir llvm.spec rpmbuild \
rpmbuild -bs llvm.spec --define "_srcrpmdir $(outdir)" \
find $(shell rpm --eval "%{_srcrpmdir}") -name "*.src.rpm" -exec cp {} $(outdir) \; --define "_sourcedir $(shell pwd)" \
--define "_disable_source_fetch 0" \
-bs $(spec)