From 82b30ec6cde6e7efdd0fb197a66d01bdad8e4a97 Mon Sep 17 00:00:00 2001 From: u Date: Jan 20 2025 00:57:17 +0000 Subject: update --- diff --git a/main.sh b/main.sh index ba1fd50..f54b23b 100644 --- a/main.sh +++ b/main.sh @@ -1,5 +1,6 @@ dnf install -y python3-build python3-py2pack python3 -m build -n -s . -o . -py2pack generate --localfile *.tar.gz -rpmbuild "-D_srcrpmdir ${outdir}" "-D_sourcedir ${outdir}" --bs "python-corp_gui.spec" +var="$(cat variant.txt)" +py2pack generate --localfile "python-copr_${var}"*.tar.gz +rpmbuild "-D_srcrpmdir ${outdir}" "-D_sourcedir ${outdir}" --bs "python-corp_${var}.spec"