https://bugzilla.redhat.com/show_bug.cgi?id=2435758



--- Comment #11 from Felix Wang <[email protected]> ---
Thanks for taking the review. The vendor tarball was created with the shell
script:


#!/usr/bin/env bash

package=starship
version=$1

spectool -g -R rust-$package.spec

pushd $HOME/rpmbuild/SOURCES

if [ -d $package-$version ]; then
    echo "Removing existing directory: $package-$version"
    rm -rf $package-$version
fi

tar xf $package-$version.crate
cd $package-$version

cargo vendor-filterer --platform x86_64-unknown-linux-gnu \
    --platform powerpc64le-unknown-linux-gnu \
    --platform aarch64-unknown-linux-gnu \
    --platform s390x-unknown-linux-gnu

tar -pc --zstd -f "$package-$version-vendor.tar.zst" vendor
mv $package-$version-vendor.tar.zst ..

popd


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2435758

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202435758%23c11

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to