From ba7e84e89e23c4db219d0e1f6a07354419bc6c37 Mon Sep 17 00:00:00 2001 From: agnik Date: Wed, 2 Oct 2024 18:16:08 +0530 Subject: [PATCH] copy stonen prove.spec again --- .github/workflows/release-fedora.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-fedora.yml b/.github/workflows/release-fedora.yml index 16f82d6..d2f0041 100644 --- a/.github/workflows/release-fedora.yml +++ b/.github/workflows/release-fedora.yml @@ -36,10 +36,13 @@ jobs: docker cp ./build.sh fedora-build:/build.sh # Copy build.sh to Fedora container docker exec -i fedora-build bash -c "chmod +x /build.sh && /build.sh" # Run build.sh inside container + - name: Copy stone-prover.spec into Fedora container + run: docker cp ./stone-prover.spec fedora-build:/stone-prover.spec # Copy the .spec file to the Fedora container + - name: Package RPM inside Fedora container run: | docker exec -i fedora-build bash -c "mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}" - docker exec -i fedora-build bash -c "cp ./stone-prover.spec ~/rpmbuild/SPECS/stone-prover.spec" + docker exec -i fedora-build bash -c "mv /stone-prover.spec ~/rpmbuild/SPECS/stone-prover.spec" docker exec -i fedora-build bash -c "rpmbuild -ba ~/rpmbuild/SPECS/stone-prover.spec --define '_topdir $HOME/rpmbuild'" - name: Verify RPM creation